mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-27 01:32:03 +08:00
fix: 修改密码api
This commit is contained in:
parent
04fb4c0365
commit
5596984e32
@ -16,7 +16,7 @@ export const updateUserProfileApi = (params) => {
|
||||
export const updateUserPwdApi = (oldPassword: string, newPassword: string) => {
|
||||
return request.put({
|
||||
url: '/system/user/profile/update-password',
|
||||
params: {
|
||||
data: {
|
||||
oldPassword: oldPassword,
|
||||
newPassword: newPassword
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user