예제 #1
0
        public ActionResult GetRelationPageListJson(Pagination pagination, string queryJson)
        {
            var watch    = CommonHelper.TimerStart();
            var data     = fromModuleBLL.GetRelationPageList(pagination, queryJson);
            var JsonData = new
            {
                rows     = data,
                total    = pagination.total,
                page     = pagination.page,
                records  = pagination.records,
                costtime = CommonHelper.TimerEnd(watch)
            };

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