mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-04-05 17:38:01 +08:00
Merge branch '4.0' of https://gitee.com/yubaolee/OpenAuth.Net into 4.0
This commit is contained in:
commit
ae3df85876
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user