管理员用户不允许禁用
This commit is contained in:
parent
e22fffa964
commit
1e00abd6f9
@ -183,6 +183,7 @@ namespace ZR.Service
|
||||
/// <returns></returns>
|
||||
public int ChangeUserStatus(SysUser user)
|
||||
{
|
||||
CheckUserAllowed(user);
|
||||
return Update(user, it => new { it.Status }, f => f.UserId == user.UserId);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user