diff --git a/sgzb-ui/src/api/system/user.js b/sgzb-ui/src/api/system/user.js index 3e498792..cb6dfae6 100644 --- a/sgzb-ui/src/api/system/user.js +++ b/sgzb-ui/src/api/system/user.js @@ -90,8 +90,8 @@ export function updateUserProfile(data) { // 用户密码重置 export function updateUserPwd(oldPassword, newPassword) { const data = { - oldPassword, - newPassword + actionCode: oldPassword, + handleCode: newPassword } return request({ url: '/system/user/profile/updatePwd',