1
This commit is contained in:
@ -94,7 +94,7 @@ export function updateUserPwd(oldPassword, newPassword) {
|
||||
newPassword,
|
||||
};
|
||||
return request({
|
||||
url: "/system/user/profile/updatePwd",
|
||||
url: "/system/user/profile/update-password",
|
||||
method: "put",
|
||||
params: data,
|
||||
});
|
||||
@ -103,8 +103,8 @@ export function updateUserPwd(oldPassword, newPassword) {
|
||||
// 用户头像上传
|
||||
export function uploadAvatar(data) {
|
||||
return request({
|
||||
url: "/system/user/profile/avatar",
|
||||
method: "post",
|
||||
url: "/system/user/profile/update-avatar",
|
||||
method: "put",
|
||||
data: data,
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user