public ActionResult top() { //Bll_System_Menu Menu = new Bll_System_Menu(); //QX.Comm.MenuLocation local = QX.Comm.MenuLocation.TOP; //List<System_Menu> MenuList = Menu.GetMenu(local); //var model = TopInsatance.GetModel(" AND Menu_User='******' "); // ViewData["TopList"] = model != null ? model.Menu_Links : ""; //登录人信息 ViewData["UserName"] = !string.IsNullOrEmpty(SessionConfig.UserName()) ? SessionConfig.UserName() : "1"; ViewData["UserRole"] = !string.IsNullOrEmpty(SessionConfig.Stuff_LoginType()) ? instanceD.GetModel(" and Dict_Code='" + SessionConfig.Stuff_LoginType() + "'").Dict_Name: "2"; ViewData["IP"] = SessionConfig.CurrentIP(); return(View()); }