mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-05-10 23:58:02 +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("请为角色分配机构");
|
throw new Exception("请为角色分配机构");
|
||||||
Role role = obj;
|
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,
|
Name = role.Name,
|
||||||
Status = role.Status
|
Status = role.Status
|
||||||
|
Loading…
Reference in New Issue
Block a user