mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2026-06-11 06:27:51 +08:00
【优化】调整创建商品,编辑商品,小程序获取分类接口,都是使用升序;
This commit is contained in:
@@ -72,7 +72,7 @@ namespace CoreCms.Net.Web.Admin.Controllers
|
|||||||
{
|
{
|
||||||
var jm = new AdminUiCallBack();
|
var jm = new AdminUiCallBack();
|
||||||
//获取数据
|
//获取数据
|
||||||
var list = await _coreCmsGoodsCategoryServices.QueryListByClauseAsync(p => p.id > 0, p => p.sort, OrderByType.Desc, true, true);
|
var list = await _coreCmsGoodsCategoryServices.QueryListByClauseAsync(p => p.id > 0, p => p.sort, OrderByType.Asc, true, true);
|
||||||
//返回数据
|
//返回数据
|
||||||
jm.data = list;
|
jm.data = list;
|
||||||
jm.code = 0;
|
jm.code = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user