This commit is contained in:
GaoHao
2025-01-14 10:27:47 +08:00
5 changed files with 25 additions and 10 deletions

View File

@@ -23,9 +23,10 @@ export const setSendMsg = (mobile,type) => {
/**
* 注册
*/
export const registerCode = (params) => {
export const register = (params) => {
return http.request({
url: '/Login/registerCode',
method: 'POST',
params: params
})
}
@@ -48,6 +49,8 @@ export const bind = (data) => {
return http.request({
url: '/Login/registerCode',
method: 'POST',
params: data
data: data
})
}
}

View File

@@ -31,3 +31,14 @@ export const updateUsers = (data) => {
data: data,
})
}
/**
* 修改手机号
*/
export const updatePhone = (data) => {
return http.request({
url: '/user/updatePhone',
method: 'POST',
params: data
})
}