锶源昆仑会员+体验官

This commit is contained in:
2023-07-22 19:04:56 +08:00
commit 5a6b3517e6
439 changed files with 20654 additions and 0 deletions

45
api/interfaces/index.js Normal file
View File

@@ -0,0 +1,45 @@
/*
* 手太欠
* 愿这世界都如故事里一样 美好而动人~
*/
import {req} from "../request"
//首页
const home = () => req({url: "gout"})
//商品详情
const goods = (activity_id) => req({url: "mall/activities/" + activity_id})
//打卡海报背景
const poster = () => req({url: "user/sign/backgrounds"})
//喝水打卡
const sign = () => req({url: "user/sign", method: 'POST'})
//喝水补卡
const replenish = (data) => req({url: "user/sign/replenish", method: 'POST', data: data})
//喝水打卡日历
const calendar = () => req({url: "user/sign"})
//反馈列表
const surveys = (data) => req({url: "gout/surveys", data: data})
//反馈列表
const surveysForm = (data) => req({url: "gout/surveys", method: 'POST', data: data})
//我的反馈前置
const feedback = () => req({url: "gout/result/" + user_case_id + "/logs"})
export default({
home,
goods,
poster,
sign,
replenish,
calendar,
surveys,
surveysForm,
feedback
})