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

pull/229/head
RuoYi 2 years ago
parent d6df1fe7b3
commit 2a675aa304

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

Loading…
Cancel
Save