连云港陪玩陪聊
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.
chunwan/api/index.js

100 lines
1.7 KiB

2 months ago
import { request } from './request'
const api = {
2 months ago
//根据字典类型获取字典 学历 education_type 薪资 salary_type 婚姻 marriage_type 居住 live_type 异性-女标签 sex_type_2 星座 constellation_type 异性-男标签 sex_type_1
getDictDataByType(data) {
2 months ago
return request({
2 months ago
url: 'api/getDictDataByType',
method: 'get',
data
})
},
//真人认证
detectLivingFace(data) {
return request({
url: 'api/user/detectLivingFace',
2 months ago
method: 'post',
data
})
},
//实名认证
realNameAuth(data) {
return request({
url: 'api/user/realNameAuth',
method: 'post',
data
})
},
//手机认证
phoneAuth(data) {
return request({
url: 'api/user/phoneAuth',
method: 'post',
data
})
},
//查询个人信息
findUserInfo(data) {
return request({
url: 'api/user/findUserInfo',
method: 'post',
data
})
},
2 months ago
//忘记密码/修改密码
forgetPsw(data) {
return request({
url: 'api/forgetPsw',
method: 'post',
data
})
},
2 months ago
//发送验证码
2 months ago
sendSmsCode(data) {
2 months ago
return request({
url: 'api/sendSmsCode',
method: 'post',
data
})
},
2 months ago
//短信登录
2 months ago
toLogin(data) {
return request({
url: 'api/loginByCode',
method: 'post',
data
})
},
2 months ago
//注册账号
regByCode(data) {
return request({
url: 'api/regByCode',
method: 'post',
data
})
},
2 months ago
//账号登录
loginForPsw(data) {
2 months ago
return request({
2 months ago
url: '/api/loginForPsw',
2 months ago
method: 'post',
data
})
},
//修改用户信息
2 months ago
registerEditUser(data) {
2 months ago
return request({
2 months ago
url: 'api/user/registerEditUser',
2 months ago
method: 'post',
data
})
},
//用户信息
getMemberInfo(data) {
return request({
url: 'api/user/getinfo',
method: 'post',
data
})
}
}
export default api