防止用户个人信息修改部门
This commit is contained in:
parent
890ad682d7
commit
893ef39401
@ -76,6 +76,7 @@ public class SysProfileController extends BaseController
|
|||||||
user.setUserId(sysUser.getUserId());
|
user.setUserId(sysUser.getUserId());
|
||||||
user.setPassword(null);
|
user.setPassword(null);
|
||||||
user.setAvatar(null);
|
user.setAvatar(null);
|
||||||
|
user.setDeptId(null);
|
||||||
if (userService.updateUserProfile(user) > 0)
|
if (userService.updateUserProfile(user) > 0)
|
||||||
{
|
{
|
||||||
// 更新缓存用户信息
|
// 更新缓存用户信息
|
||||||
|
Loading…
Reference in New Issue
Block a user