From 0ef82437ca087bd0c9dcfa1fda172f1cfbada6e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AE=A9=E6=97=A0=E7=BA=BF=E7=94=B5=E9=A3=9EBG8GLR?= Date: Thu, 1 Jun 2023 04:58:32 +0000 Subject: [PATCH] =?UTF-8?q?=E5=A4=B4=E5=83=8F=E4=B8=8A=E4=BC=A0=EF=BC=8CVU?= =?UTF-8?q?E3=E5=90=8E=E7=AB=AF=E7=95=8C=E9=9D=A2=E4=B8=AD=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E7=9A=84=E6=98=AFrequest.upload=EF=BC=8C=E5=AF=B9?= =?UTF-8?q?=E5=BA=94=E7=9A=84=E6=96=B9=E6=B3=95=E6=98=AFpost=20=E5=A4=B4?= =?UTF-8?q?=E5=83=8F=E4=B8=8A=E4=BC=A0=EF=BC=8CVUE3=E5=90=8E=E7=AB=AF?= =?UTF-8?q?=E7=95=8C=E9=9D=A2=E4=B8=AD=E4=BD=BF=E7=94=A8=E7=9A=84=E6=98=AF?= =?UTF-8?q?request.upload=EF=BC=8C=E5=AF=B9=E5=BA=94=E7=9A=84=E6=96=B9?= =?UTF-8?q?=E6=B3=95=E6=98=AFpost?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 让无线电飞BG8GLR --- .../system/controller/admin/user/UserProfileController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/user/UserProfileController.java b/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/user/UserProfileController.java index 1dfc9bc3c..5cffe11bd 100644 --- a/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/user/UserProfileController.java +++ b/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/user/UserProfileController.java @@ -96,7 +96,7 @@ public class UserProfileController { return success(true); } - @PutMapping("/update-avatar") + @PostMapping("/update-avatar") @Operation(summary = "上传用户个人头像") public CommonResult updateUserAvatar(@RequestParam("avatarFile") MultipartFile file) throws Exception { if (file.isEmpty()) {