mirror of
https://github.com/dromara/RuoYi-Vue-Plus.git
synced 2025-09-21 02:36:40 +08:00
优化修改资料头像被覆盖的问题(I5LK04)
This commit is contained in:
parent
b9f45057b8
commit
890ad682d7
@ -75,6 +75,7 @@ public class SysProfileController extends BaseController
|
|||||||
}
|
}
|
||||||
user.setUserId(sysUser.getUserId());
|
user.setUserId(sysUser.getUserId());
|
||||||
user.setPassword(null);
|
user.setPassword(null);
|
||||||
|
user.setAvatar(null);
|
||||||
if (userService.updateUserProfile(user) > 0)
|
if (userService.updateUserProfile(user) > 0)
|
||||||
{
|
{
|
||||||
// 更新缓存用户信息
|
// 更新缓存用户信息
|
||||||
|
Loading…
Reference in New Issue
Block a user