コード例 #1
0
        public ActionResult GetProjectListByPostId(string keyValue, string queryJson, Pagination pagination)
        {
            var watch    = CommonHelper.TimerStart();
            var data     = authorizebll.GetProjectListByPostId(keyValue, queryJson, pagination);
            var jsonData = new
            {
                rows     = data,
                total    = pagination.total,
                page     = pagination.page,
                records  = pagination.records,
                costtime = CommonHelper.TimerEnd(watch)
            };

            return(ToJsonResult(jsonData));
        }