mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-18 09:44:28 +08:00
check bugs
This commit is contained in:
@@ -86,7 +86,7 @@ namespace OpenAuth.App
|
||||
throw new Exception("请为角色分配机构");
|
||||
Role role = obj;
|
||||
|
||||
UnitWork.Update<User>(u => u.Id == obj.Id, u => new User
|
||||
UnitWork.Update<Role>(u => u.Id == obj.Id, u => new Role
|
||||
{
|
||||
Name = role.Name,
|
||||
Status = role.Status
|
||||
|
Reference in New Issue
Block a user