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) => {
|
export const updateUserPwdApi = (oldPassword: string, newPassword: string) => {
|
||||||
return request.put({
|
return request.put({
|
||||||
url: '/system/user/profile/update-password',
|
url: '/system/user/profile/update-password',
|
||||||
params: {
|
data: {
|
||||||
oldPassword: oldPassword,
|
oldPassword: oldPassword,
|
||||||
newPassword: newPassword
|
newPassword: newPassword
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user