mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-20 02:29:24 +08:00
完成用户模块/用户角色分配
This commit is contained in:
@@ -114,6 +114,12 @@ namespace OpenAuth.App
|
||||
}
|
||||
}
|
||||
|
||||
public void AccessModules(int userId, int[] ids)
|
||||
{
|
||||
_userModuleRepository.DeleteByUser(userId);
|
||||
_userModuleRepository.AddUserModule(userId, ids);
|
||||
}
|
||||
|
||||
#region 私有方法
|
||||
|
||||
//根据同一级中最大的语义ID
|
||||
|
Reference in New Issue
Block a user