调整部分代码结构

This commit is contained in:
yubaolee
2016-07-19 11:44:48 +08:00
parent d66fd4b25e
commit 3dea7d00f0
20 changed files with 207 additions and 186 deletions

View File

@@ -1,6 +1,7 @@
using System.Web.Mvc;
using Infrastructure;
using OpenAuth.App;
using OpenAuth.App.SSO;
using OpenAuth.App.ViewModel;
using OpenAuth.Mvc.Models;
@@ -17,7 +18,7 @@ namespace OpenAuth.Mvc.Controllers
public ActionResult Index()
{
var user = AutofacExt.GetFromFac<LoginApp>().GetLoginUser();
var user = AuthUtil.GetCurrentUser();
return View(user.Modules);
}