|
@@ -190,7 +190,7 @@ public class UserController extends BaseController {
|
|
userEntity.setAvatar(avatarUrl);
|
|
userEntity.setAvatar(avatarUrl);
|
|
userEntity.setUpdateTime(DateUtil.now());
|
|
userEntity.setUpdateTime(DateUtil.now());
|
|
this.userService.save(userEntity);
|
|
this.userService.save(userEntity);
|
|
- return success();
|
|
|
|
|
|
+ return success(userEntity.getAvatar());
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
e.printStackTrace();
|
|
e.printStackTrace();
|
|
return fail("文件上传失败");
|
|
return fail("文件上传失败");
|