mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-19 18:22:11 +08:00
把有些东西写到极致
This commit is contained in:
@@ -70,9 +70,14 @@ namespace OpenAuth.Mvc.Controllers
|
||||
return JsonHelper.Instance.Serialize(Result);
|
||||
}
|
||||
|
||||
public string LoadChildren(string id)
|
||||
/// <summary>
|
||||
/// 加载机构的全部下级机构
|
||||
/// </summary>
|
||||
/// <param name="orgId">机构ID</param>
|
||||
/// <returns></returns>
|
||||
public string LoadChildren(string orgId)
|
||||
{
|
||||
return JsonHelper.Instance.Serialize(OrgApp.LoadAllChildren(id));
|
||||
return JsonHelper.Instance.Serialize(OrgApp.LoadAllChildren(orgId));
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
Reference in New Issue
Block a user