| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 |
- //我的相关:
- const {
- http
- } = uni.$u
- //发送验证码
- export const sendCode = (params, config = {}) => http.post('/sms/send', params, config)
- //注册
- export const register = (params, config = {}) => http.post('/auth/register', params, config)
- //登录
- export const login = (params, config = {}) => http.post('/auth/login', params, config)
- //忘记密码
- export const forgetPwd = (params, config = {}) => http.post('/user/updatePassword', params, config)
- //我的课程订单
- export const myScoreOrder = (params, config = {}) => http.post('/order/course/list', params, config)
- // 课程订单详情
- export const myScoreOrderDetail = (params, config = {}) => http.post('/order/course/show', params, config)
- // 我的任务订单
- export const myTaskOrder = (params, config = {}) => http.post('/order/task/list', params, config)
- // 任务订单详情
- export const myTaskOrderDetail = (params, config = {}) => http.post('/order/task/show', params, config)
- //系统参数
- export const sysParms = (params, config = {}) => http.post('/setting/list', params, config)
- //申请提现
- export const applyWithdraw = (params, config = {}) => http.post('/user/withdraw/add', params, config)
- //修改手机号
- export const changePhone = (params, config = {}) => http.post('/user/updateMobile', params, config)
- //退出登录
- export const loginOut = (params, config = {}) => http.post('/user/logout', params, config)
- //修改用户信息
- export const updateInfo = (params, config = {}) => http.post('/user/update', params, config)
- //提现记录
- export const withdrawLog = (params, config = {}) => http.post('/user/withdraw/list', params, config)
- //我的团队
- export const myTeam = (params, config = {}) => http.post('/user/recommend', params, config)
- //个人信息
- export const userInfo = (params, config = {}) => http.post('/user/info', params, config)
- //任务佣金汇总
- export const taskCount = (params, config = {}) => http.post('/user/bill/taskCount', params, config)
- //推广佣金汇总
- export const recommendCount = (params, config = {}) => http.post('/user/bill/recommendCount', params, config)
- //任务佣金明细
- export const taskList = (params, config = {}) => http.post('/user/bill/taskList', params, config)
- //推广佣金明细
- export const recommendList = (params, config = {}) => http.post('/user/bill/recommendList', params, config)
- //问答记录
- export const quesRecord = (params, config = {}) => http.post('/chat/list', params, config)
- //提交问答
- export const sendGpt = (params, config = {}) => http.post('/chat/send', params, config)
- //保存提现信息
- export const withDrawInfo = (params, config = {}) => http.post('/chat/send', params, config)
- //回显提现信息
- export const saveWithDrawInfo = (params, config = {}) => http.post('/chat/send', params, config)
|