This commit is contained in:
2025-01-14 11:43:53 +08:00
16 changed files with 455 additions and 427 deletions

View File

@@ -5,9 +5,9 @@ import http from '@/http/http.js'
*/
export const login = (data) => {
return http.request({
url: '/Login/registerCode',
url: '/Login',
method: 'POST',
params: data
data: data
})
}
@@ -23,10 +23,11 @@ export const setSendMsg = (mobile,type) => {
/**
* 注册
*/
export const registerCode = (params) => {
export const register = (data) => {
return http.request({
url: '/Login/registerCode',
params: params
url: '/Login/register',
method: 'POST',
data: data
})
}
@@ -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
})
}