mirror of
				https://github.com/dromara/RuoYi-Vue-Plus.git
				synced 2025-10-31 14:23:45 +08:00 
			
		
		
		
	优化代码
This commit is contained in:
		| @@ -72,7 +72,7 @@ public class SysProfileController extends BaseController | ||||
|                 && UserConstants.NOT_UNIQUE.equals(userService.checkEmailUnique(user))) | ||||
|         { | ||||
|             return AjaxResult.error("修改用户'" + user.getUserName() + "'失败,邮箱账号已存在"); | ||||
|         }        | ||||
|         } | ||||
|         user.setUserId(sysUser.getUserId()); | ||||
|         user.setPassword(null); | ||||
|         if (userService.updateUserProfile(user) > 0) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user