mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 17:23:26 +08:00
【优化】优化文章分类后端及前端展示排序问题。
This commit is contained in:
@@ -108,7 +108,7 @@ namespace CoreCms.Net.Web.WebApi.Controllers
|
||||
{
|
||||
var jm = new WebApiCallBack();
|
||||
|
||||
var articleType = await _articleTypeServices.QueryAsync(true, true);
|
||||
var articleType = await _articleTypeServices.QueryListByClauseAsync(p => p.id > 0, p => p.sort, OrderByType.Asc, true, true);
|
||||
if (articleType.Any())
|
||||
{
|
||||
var where = PredicateBuilder.True<CoreCmsArticle>();
|
||||
|
||||
Reference in New Issue
Block a user