From 0d08ed26a57a895bc37bed8e62614d56853edba2 Mon Sep 17 00:00:00 2001 From: sfmind Date: Wed, 20 Apr 2022 23:55:41 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=B1=E4=BA=8Euni-app=E7=9A=84=E4=B8=8A?= =?UTF-8?q?=E4=BC=A0=E5=9B=BE=E7=89=87uni.uploadFile=E7=9B=AE=E5=89=8D?= =?UTF-8?q?=E4=BB=85=E6=94=AF=E6=8C=81POST=E6=96=B9=E6=B3=95=EF=BC=8C?= =?UTF-8?q?=E6=89=80=E4=BB=A5=E5=B0=86PUT=E6=94=B9=E4=B8=BAPOST?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../module/member/controller/app/user/AppUserController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yudao-module-member/yudao-module-member-impl/src/main/java/cn/iocoder/yudao/module/member/controller/app/user/AppUserController.java b/yudao-module-member/yudao-module-member-impl/src/main/java/cn/iocoder/yudao/module/member/controller/app/user/AppUserController.java index edefcdba0..4eec2893f 100644 --- a/yudao-module-member/yudao-module-member-impl/src/main/java/cn/iocoder/yudao/module/member/controller/app/user/AppUserController.java +++ b/yudao-module-member/yudao-module-member-impl/src/main/java/cn/iocoder/yudao/module/member/controller/app/user/AppUserController.java @@ -40,7 +40,7 @@ public class AppUserController { return success(true); } - @PutMapping("/update-avatar") + @PostMapping("/update-avatar") @ApiOperation("修改用户头像") @PreAuthenticated public CommonResult updateUserAvatar(@RequestParam("avatarFile") MultipartFile file) throws Exception {