import fly from '@/common/bin/fly.js'
|
|
class User {
|
// 用户信息
|
getUserInfo(){
|
return fly.post('/user/userInfo')
|
}
|
// 充值记录/金币记录
|
getJLrecharge(params){
|
return fly.post('/user/JLrecharge',params)
|
}
|
// 充值列表
|
getRechargeList(params){
|
return fly.post('/user/rechargeList',params)
|
}
|
// 充值
|
recharge(params){
|
return fly.post('/user/recharge',params)
|
}
|
// 绑定卡号
|
addbinding(params){
|
return fly.post('/user/addbinding',params)
|
}
|
// 绑定服务
|
binding(params){
|
return fly.post('/user/binding',params)
|
}
|
// 饮水记录
|
getYsList(params){
|
return fly.post('/user/ys',params)
|
}
|
// 挂失,和解除卡号
|
uputbinding(params){
|
return fly.post('/user/uputbinding',params)
|
}
|
// 注销账号
|
UserLogoutSave(params){
|
return fly.post('/UserLogout/UserLogoutSave',params)
|
}
|
// 反馈信息
|
FeedbackSave(params){
|
return fly.post('/Feedback/FeedbackSave',params)
|
}
|
// 修改用户信息
|
updateUserInfo(params){
|
return fly.post('/user/ModUser',params)
|
}
|
// 用户邀请记录
|
getUserInviteList(params){
|
return fly.get('/user/getUserInviteList',params)
|
}
|
|
// 签到列表
|
DlDay(params){
|
return fly.post('/user/DlDay',params)
|
}
|
// 签到
|
addDlDay(params){
|
return fly.post('/user/addDlDay',params)
|
}
|
// 本月签到列表
|
benyaddDlDay(params){
|
return fly.post('/user/benyaddDlDay',params)
|
}
|
// 连续签到天数
|
lxDlDay(params){
|
return fly.post('/user/lxDlDay',params)
|
}
|
// 连续签到天数
|
getNowSignin(params){
|
return fly.post('/user/Day',params)
|
}
|
|
// 获取支付信息
|
getPayInfoWx(params){
|
return fly.post('/pay/getPayInfoWx',params)
|
}
|
|
// 获取任务金币
|
getTaskList(params){
|
return fly.post('/user/gold',params)
|
}
|
|
|
}
|
export default User
|