mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-21 02:57:54 +08:00
修复模块菜单不受分级控制的BUG
This commit is contained in:
@@ -16,11 +16,6 @@ namespace OpenAuth.Mvc.Controllers
|
||||
_app = AutofacExt.GetFromFac<ModuleManagerApp>();
|
||||
}
|
||||
|
||||
public string GetModules(int parentId = 0)
|
||||
{
|
||||
return JsonHelper.Instance.Serialize(_app.LoadByParent(parentId));
|
||||
}
|
||||
|
||||
public ActionResult Index()
|
||||
{
|
||||
var user = AutofacExt.GetFromFac<LoginApp>().GetLoginUser();
|
||||
|
Reference in New Issue
Block a user