分配模块

This commit is contained in:
yubaolee
2017-12-15 17:44:30 +08:00
parent 48db85f686
commit 277676cbba
10 changed files with 76 additions and 110 deletions

View File

@@ -58,7 +58,7 @@ namespace OpenAuth.App
set
{
_user = value;
_userRoleIds = UnitWork.Find<Relevance>(u => u.FirstId == _user.Id && u.Key == "UserRole").Select(u => u.SecondId).ToList();
_userRoleIds = UnitWork.Find<Relevance>(u => u.FirstId == _user.Id && u.Key == Define.USERROLE).Select(u => u.SecondId).ToList();
}
}