mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-11-08 18:34:44 +08:00
全面修正分级授权,去掉Anonymous,采用Authenticate进行授权
This commit is contained in:
@@ -50,8 +50,9 @@ namespace OpenAuth.App
|
||||
}
|
||||
else
|
||||
{
|
||||
Categorys = _repository.LoadInOrgs(pageindex, pagesize, GetSubCategories(parentId));
|
||||
total = _repository.GetCategoryCntInOrgs(parentId);
|
||||
var ids = GetSubCategories(parentId);
|
||||
Categorys = _repository.LoadInOrgs(pageindex, pagesize, ids);
|
||||
total = _repository.GetCategoryCntInOrgs(ids);
|
||||
}
|
||||
|
||||
return new
|
||||
|
||||
Reference in New Issue
Block a user