示例#1
0
        /// <summary>
        /// 主页
        /// </summary>
        /// <returns>动作结果</returns>
        public ActionResult Index()
        {
            var comData = HttpContext.CreateCommonUseData(ComUseDataFactory, menuCode: "Home", functionCodes: "Query");
            var user    = UserTool <int> .GetCurrUser(comData);

            return(View(UserMenuService.CanAccessMenus(user.Id, comData)));
        }