临时界面,晚上处理

This commit is contained in:
yubaolee
2015-12-01 17:59:08 +08:00
parent 95a10397dc
commit 2f52d6f652
2 changed files with 7 additions and 4 deletions

View File

@@ -1,6 +1,8 @@
using System.Web.Mvc;
using Infrastructure;
using Infrastructure.Helper;
using OpenAuth.App;
using OpenAuth.App.ViewModel;
namespace OpenAuth.Mvc.Controllers
{
@@ -19,7 +21,8 @@ namespace OpenAuth.Mvc.Controllers
}
public ActionResult Index()
{
return View(_app.LoadByParent(0));
var user = SessionHelper.GetSessionUser<LoginUserVM>();
return View(user.Modules);
}
public ActionResult Main()