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

master
RuoYi 2 years ago
parent b9f45057b8
commit 890ad682d7
  1. 1
      ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysProfileController.java

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

Loading…
Cancel
Save