示例#1
0
        public ActionResult GetModels(ACEPagination pagination, string keyword, string filters)
        {
            PagedData <article> pagedData = new PagedData <article>();

            if (!string.IsNullOrEmpty(filters))
            {
                filters   = SqlFilter.SqlFilters(filters); //过滤特殊字符
                pagedData = IdalCommon.IarticleEx.mutiplySearch(filters, pagination, "article");
            }
            else
            {
                pagedData = IdalCommon.IarticleEx.GetPageData(pagination, keyword);
            }
            return(this.SuccessData(pagedData));
        }