mirror of
https://gitee.com/beecue/fastbee.git
synced 2026-02-06 17:15:56 +08:00
fix(修改密码):修改密码传参方式修改
This commit is contained in:
@@ -102,15 +102,12 @@ export function updateUserProfile(data) {
|
||||
}
|
||||
|
||||
// 用户密码重置
|
||||
export function updateUserPwd(oldPassword, newPassword) {
|
||||
const data = {
|
||||
oldPassword,
|
||||
newPassword
|
||||
}
|
||||
export function updateUserPwd(data) {
|
||||
|
||||
return request({
|
||||
url: '/system/user/profile/updatePwd',
|
||||
method: 'put',
|
||||
params: data
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user