Пример #1
0
        public JsonResult PostAutoReplyList(int page, int rows)
        {
            var data = WeixinAutoReplyApplication.GetPage(page, rows);

            return(Json(new { rows = data.Models.ToList(), total = data.Total }));
        }
Пример #2
0
        public JsonResult PostAutoReplyList(int page, int rows)
        {
            ObsoletePageModel <AutoReplyInfo> model = WeixinAutoReplyApplication.GetPage(page, rows, ReplyType.Keyword);

            return(base.Json(new { rows = model.Models.ToList <AutoReplyInfo>(), total = model.Total }));
        }