Exemplo n.º 1
0
        public ActionResult GetPageList(Pagination pagination, string queryJson)
        {
            var watch    = CommonHelper.TimerStart();
            var list     = _systemBll.GetPageList(pagination, queryJson);
            var jsonData = new
            {
                rows = list,
                pagination.total,
                pagination.page,
                pagination.records,
                costtime = CommonHelper.TimerEnd(watch)
            };

            return(Content(jsonData.ToJson()));
        }