You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
import {
|
|
|
|
req
|
|
|
|
} from '../../utils/req.js';
|
|
|
|
export default {
|
|
|
|
// 用户信息
|
|
|
|
userInfo(param) {
|
|
|
|
return req.get("massage/app/IndexUser/userInfo", param)
|
|
|
|
},
|
|
|
|
// 更新用户信息
|
|
|
|
userUpdate(param) {
|
|
|
|
return req.post("massage/app/IndexUser/userUpdate", param)
|
|
|
|
},
|
|
|
|
// 绑定渠道商
|
|
|
|
bindChannel(param) {
|
|
|
|
return req.post("massage/app/IndexUser/bindChannel", param)
|
|
|
|
},
|
|
|
|
// 注销用户
|
|
|
|
delUserInfo(param) {
|
|
|
|
return req.post("/massage/app/IndexUser/delUserInfo", param)
|
|
|
|
},
|
|
|
|
// 获取手机号
|
|
|
|
reportPhone(param) {
|
|
|
|
return req.post("massage/app/IndexUser/reportPhone", param)
|
|
|
|
},
|
|
|
|
// 验证码
|
|
|
|
sendShortMsg(param) {
|
|
|
|
return req.post("massage/app/IndexUser/sendShortMsg", param)
|
|
|
|
},
|
|
|
|
// 绑定手机号
|
|
|
|
bindUserPhone(param) {
|
|
|
|
return req.post("massage/app/IndexUser/bindUserPhone", param)
|
|
|
|
},
|
|
|
|
// 登录获取验证码
|
|
|
|
sendCodeMsg(param) {
|
|
|
|
return req.post("massage/app/IndexUser/sendCodeMsg", param)
|
|
|
|
},
|
|
|
|
// 手机号登录
|
|
|
|
phonelogin(param) {
|
|
|
|
return req.post("massage/app/IndexUser/phonelogin", param)
|
|
|
|
},
|
|
|
|
}
|