修复模块菜单不受分级控制的BUG

This commit is contained in:
yubaolee
2016-05-27 12:39:14 +08:00
parent fbdd6163a2
commit 38eec363d7
7 changed files with 91 additions and 258 deletions

View File

@@ -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();