fix: 修改密码api

This commit is contained in:
weikun 2022-11-01 14:07:42 +08:00
parent 04fb4c0365
commit 5596984e32

View File

@ -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
}