|
|
|
@ -14,7 +14,7 @@ export const examinePassword = (data) => { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
export const getUserRolesPermissionMenu = (data) => { |
|
|
|
|
return get('users/user-role/getUserRolesPermissionMenu', data) |
|
|
|
|
return get('users/users/user-role/getUserRolesPermissionMenu', data) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
export const updatePersonCenter = (data) => { |
|
|
|
@ -26,27 +26,27 @@ export const queryUserInfoDetails = () => { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
export const updateMyEmail = (data) => { |
|
|
|
|
return post('nakadai/partner-team/updateMyEmail', data) |
|
|
|
|
return post('nakadai/nakadai/partner-team/updateMyEmail', data) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
export const mailCodeSend = (data) => { |
|
|
|
|
return post('nakadai/partner-team/mailCodeSend', data) |
|
|
|
|
return post('nakadai/nakadai/partner-team/mailCodeSend', data) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
export const changeAccount = account => { |
|
|
|
|
return post(`users/applets/mine/changeAccount?account=${account}`) |
|
|
|
|
return post(`users/users/applets/mine/changeAccount?account=${account}`) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
export const changePhoneNumber = (phone, code) => { |
|
|
|
|
return post(`users/applets/mine/changePhoneNumber?phone=${phone}&code=${code}`) |
|
|
|
|
return post(`users/users/applets/mine/changePhoneNumber?phone=${phone}&code=${code}`) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
export const checkIfAnAccountExists = account => { |
|
|
|
|
return post(`users/applets/mine/checkIfAnAccountExists?account=${account}`) |
|
|
|
|
return post(`users/users/applets/mine/checkIfAnAccountExists?account=${account}`) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
export const checkIfThePhoneNumberExists = phone => { |
|
|
|
|
return post(`users/applets/mine/checkIfThePhoneNumberExists?phone=${phone}`) |
|
|
|
|
return post(`users/users/applets/mine/checkIfThePhoneNumberExists?phone=${phone}`) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
export const updateUserAvatars = `http://39.108.250.202:9000/users/users/userAccount/updateUserAvatars` |