Pre Merge pull request !35 from 让无线电飞BG8GLR/N/A
commit
978fb96630
|
|
@ -96,7 +96,7 @@ public class UserProfileController {
|
|||
return success(true);
|
||||
}
|
||||
|
||||
@PutMapping("/update-avatar")
|
||||
@PostMapping("/update-avatar")
|
||||
@Operation(summary = "上传用户个人头像")
|
||||
public CommonResult<String> updateUserAvatar(@RequestParam("avatarFile") MultipartFile file) throws Exception {
|
||||
if (file.isEmpty()) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue