/// <summary>
        /// 获取文章列表数据
        /// </summary>
        /// <param name="pageModel"></param>
        /// <param name="queryModel"></param>
        /// <returns></returns>
        public ActionResult Articles(BsPageRequest pageModel, Qq_Article queryModel)
        {
            var            page    = artBll.Page(pageModel.PageNum, pageModel.Limit, queryModel, pageModel.Sort, pageModel.Order);
            BsPageResponse resData = new BsPageResponse();

            resData.rows  = page.Items;
            resData.total = page.TotalItems;
            JsonResult result = new JsonResult();

            result.JsonRequestBehavior = JsonRequestBehavior.AllowGet;
            result.Data = resData;
            return(result);
        }
 public ActionResult Index(PetaPoco.Page <Qq_Article> page, Qq_Article queryModel)
 {
     if (page.ItemsPerPage == 0)
     {
         page.ItemsPerPage = 20;
     }
     if (page.CurrentPage == 0)
     {
         page.CurrentPage = 1;
     }
     page = artBll.Page(page.CurrentPage, page.ItemsPerPage, queryModel, nameof(queryModel.PublicTime), "DESC");
     return(View(page));
 }