登录模块接口对接完毕
This commit is contained in:
@@ -77,4 +77,30 @@ export function apiReSetPsd(params) {
|
||||
},
|
||||
method: 'POST'
|
||||
})
|
||||
}
|
||||
|
||||
// 更换手机号第一步
|
||||
export function apiComfirmCode (params) {
|
||||
return request({
|
||||
url: '/shiningCloud/user/comfirmCode',
|
||||
data: {
|
||||
devCode: uni.getStorageSync('cidAES'),
|
||||
phone: params.phone,
|
||||
code: params.code.trim()
|
||||
},
|
||||
method: 'POST'
|
||||
})
|
||||
}
|
||||
// 重新绑定手机号
|
||||
export function apiRebindPhone (params) {
|
||||
return request({
|
||||
url: '/shiningCloud/user/rebindPhone',
|
||||
data: {
|
||||
devCode: uni.getStorageSync('cidAES'),
|
||||
userId: uni.getStorageSync('userInfo').userId,
|
||||
phoneNew: params.phone,
|
||||
code: params.code.trim()
|
||||
},
|
||||
method: 'POST'
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user