예제 #1
0
        //获取权限信息
        public ActionResult GetActionInfo()
        {
            int    pageIndex  = Request["page"] == null ? 1 : int.Parse(Request["page"]);
            int    pageSize   = Request["rows"] == null ? 10 : int.Parse(Request["rows"]);
            int    total      = 0;
            string Remark     = Request["Remark"];
            string HttpMethd  = Request["HttpMethd"];
            string ActionName = Request["ActionName"];
            ActionInfoSearchParms actionInfoSearchParms = new ActionInfoSearchParms()
            {
                pageIndex  = pageIndex,
                pageSize   = pageSize,
                total      = total,
                Remark     = Remark,
                HttpMethd  = HttpMethd,
                ActionName = ActionName
            };
            var ActionInfos = ActionInfoService.GetPageEntityBySearch(actionInfoSearchParms);

            return(Content(SerializerHelper.SerializerToString(new { rows = ActionInfos, total = actionInfoSearchParms.total })));
        }