mirror of
https://github.com/YunaiV/ruoyi-vue-pro.git
synced 2025-11-02 14:43:46 +08:00
fix: avatar
This commit is contained in:
@ -73,5 +73,5 @@ export const updateUserPwdApi = (oldPassword: string, newPassword: string) => {
|
||||
|
||||
// 用户头像上传
|
||||
export const uploadAvatarApi = (data) => {
|
||||
return request.upload({ url: '/system/user/profile/update-avatar', data: data })
|
||||
return request.put({ url: '/system/user/profile/update-avatar', data })
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user