mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2026-03-28 04:03:24 +08:00
routine update
This commit is contained in:
@@ -109,15 +109,6 @@ namespace OpenAuth.Mvc.Controllers
|
||||
return JsonHelper.Instance.Serialize(_app.Load(orgId, page, rows));
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 直接加载所有的模块
|
||||
/// </summary>
|
||||
public string LoadForTree()
|
||||
{
|
||||
var orgs = AuthUtil.GetCurrentUser().ModuleWithChildren;
|
||||
return JsonHelper.Instance.Serialize(orgs);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 加载用户模块
|
||||
/// </summary>
|
||||
@@ -140,7 +131,7 @@ namespace OpenAuth.Mvc.Controllers
|
||||
return JsonHelper.Instance.Serialize(orgs);
|
||||
}
|
||||
|
||||
public string LoadModuleWithRoot()
|
||||
public string LoadModule()
|
||||
{
|
||||
var orgs = AuthUtil.GetCurrentUser().Modules.MapToList<ModuleView>();
|
||||
return JsonHelper.Instance.Serialize(orgs);
|
||||
|
||||
Reference in New Issue
Block a user