修复状态问题、用户中心页面查询及修改

This commit is contained in:
陈淳
2022-09-14 19:53:53 +08:00
parent 011d9d639b
commit ea2be7609c
17 changed files with 90 additions and 79 deletions

View File

@@ -75,7 +75,7 @@ export function changeUserStatus(userId, isDel) {
// 查询用户个人信息
export function getUserProfile() {
return request({
url: '/system/user/profile',
url: '/account/getUserAllInfo',
method: 'get'
})
}
@@ -96,9 +96,9 @@ export function updateUserPwd(oldPassword, newPassword) {
newPassword
}
return request({
url: '/system/user/profile/updatePwd',
url: '/account/UpdatePassword',
method: 'put',
params: data
data: data
})
}