新增水滴兑换

This commit is contained in:
2023-07-21 17:22:10 +08:00
parent bcf9fee131
commit d7d54f5009
19 changed files with 732 additions and 207 deletions

View File

@@ -102,6 +102,23 @@ const kuaiDi = (experience_id) => req({
url : "experiences/express_track/" + experience_id
})
//水滴兑换商品前置
const exchangesCreate = () => req({
url : "experiences/exchanges/create"
})
//水滴兑换商品展示
const exchangesShow = () => req({
url : "experiences/exchanges/show"
})
//水滴兑换商品提交
const exchangesPost = (data) => req({
url : "experiences/exchanges",
method: "POST",
data: data
})
export default ({
index,
Enroll,
@@ -118,5 +135,8 @@ export default ({
dailyList,
dailyPost,
score,
kuaiDi
kuaiDi,
exchangesCreate,
exchangesShow,
exchangesPost
})

View File

@@ -12,8 +12,8 @@ import {updToken} from './updateToken'
// wx6bd4fcc040bfa025 水感应 正式appid
// wx9ae0c63d0c58caeb 测试appid 三猿
// wx3056ec23196eaf02 水感应 测试
// const api = "https://api.shui.shuiganying.com/api/" // 正式环境
const api = "https://shuitest.shuiganying.com/api/" // 测试环境
const api = "https://api.shui.shuiganying.com/api/" // 正式环境
// const api = "https://shuitest.shuiganying.com/api/" // 测试环境
const header = {
"Accept" : "application/json"
}