Exemplo n.º 1
0
        public ActionResult ClientData(string clientType)
        {
            var data = new
            {
                dataItems       = DicItemApp.GetDataItemListByCache(),
                duty            = DicItemApp.GetDutyListByCache(),
                organize        = OrgApp.GetOrganizeListByCache(),
                role            = RoleApp.GetRoleListByCache(),
                authorizeMenu   = ModuleApp.GetMenuList(clientType).ToString(),
                authorizeButton = (Dictionary <string, object>)ModuleApp.GetMenuButtonList()
            };

            return(Result.Success(data));
        }