mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 17:23:26 +08:00
【优化】优化商品列表的筛选排序方式。
This commit is contained in:
@@ -242,8 +242,9 @@ namespace CoreCms.Net.Web.WebApi.Controllers
|
||||
where = where.And(p => p.name.Contains(obj.searchName));
|
||||
}
|
||||
}
|
||||
|
||||
//获取数据
|
||||
var list = await _goodsServices.QueryPageByDTOAsync(where, entity.page, entity.limit, true);
|
||||
var list = await _goodsServices.QueryPageByDTOAsync(where, entity.order, entity.page, entity.limit, true);
|
||||
|
||||
//获取品牌
|
||||
var brands = await _brandServices.QueryListByClauseAsync(p => p.isShow == true, p => p.sort, OrderByType.Desc, true, true);
|
||||
|
||||
Reference in New Issue
Block a user