mirror of
				https://github.com/dromara/RuoYi-Vue-Plus.git
				synced 2025-11-04 16:23:42 +08:00 
			
		
		
		
	防止用户个人信息修改部门
This commit is contained in:
		@@ -76,6 +76,7 @@ public class SysProfileController extends BaseController
 | 
			
		||||
        user.setUserId(sysUser.getUserId());
 | 
			
		||||
        user.setPassword(null);
 | 
			
		||||
        user.setAvatar(null);
 | 
			
		||||
        user.setDeptId(null);
 | 
			
		||||
        if (userService.updateUserProfile(user) > 0)
 | 
			
		||||
        {
 | 
			
		||||
            // 更新缓存用户信息
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user