优化修改资料头像被覆盖的问题(I5LK04)

This commit is contained in:
RuoYi 2022-08-11 13:22:55 +08:00
parent b9f45057b8
commit 890ad682d7
1 changed files with 1 additions and 0 deletions

View File

@ -75,6 +75,7 @@ public class SysProfileController extends BaseController
}
user.setUserId(sysUser.getUserId());
user.setPassword(null);
user.setAvatar(null);
if (userService.updateUserProfile(user) > 0)
{
// 更新缓存用户信息