初始化管理后台的 uniapp 版本

This commit is contained in:
YunaiV
2022-08-03 11:52:35 +08:00
parent 79d55aa3e9
commit bf5df656ed
353 changed files with 43224 additions and 2 deletions

View File

@ -95,7 +95,7 @@ public class UserProfileController {
return success(true);
}
@PutMapping("/update-avatar")
@RequestMapping(value = "/update-avatar", method = {RequestMethod.POST, RequestMethod.PUT}) // 解决 uni-app 不支持 Put 上传文件的问题
@ApiOperation("上传用户个人头像")
public CommonResult<String> updateUserAvatar(@RequestParam("avatarFile") MultipartFile file) throws Exception {
if (file.isEmpty()) {