From 30f1082e0649885029b8224c8d2f83d7b3c667a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=A7=E7=81=B0=E7=81=B0?= Date: Mon, 28 Nov 2022 06:20:18 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E6=96=B0=E5=A2=9E=E3=80=91=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E6=A0=B9=E6=8D=AE=E4=B8=8D=E5=90=8C=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=E8=8E=B7=E5=8F=96=E5=95=86=E5=93=81=E7=9A=84=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E3=80=82=E7=B1=BB=E5=9E=8B=E5=8C=85=E5=90=AB=EF=BC=88=E6=96=B0?= =?UTF-8?q?=E5=93=81=EF=BC=8C=E8=AF=84=E8=AE=BA=E6=95=B0=EF=BC=8C=E9=94=80?= =?UTF-8?q?=E9=87=8F=EF=BC=8C=E4=BB=B7=E6=A0=BC=EF=BC=8C=E6=8E=A8=E8=8D=90?= =?UTF-8?q?=EF=BC=8C=E7=89=B9=E4=BB=B7=E4=BC=98=E6=83=A0=EF=BC=8C=E7=BB=BC?= =?UTF-8?q?=E5=90=88=E9=94=80=E9=87=8F=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CoreCms.Net.Web.WebApi/Controllers/GoodController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CoreCms.Net.Web.WebApi/Controllers/GoodController.cs b/CoreCms.Net.Web.WebApi/Controllers/GoodController.cs index 36a17cd8..9d126952 100644 --- a/CoreCms.Net.Web.WebApi/Controllers/GoodController.cs +++ b/CoreCms.Net.Web.WebApi/Controllers/GoodController.cs @@ -474,7 +474,7 @@ namespace CoreCms.Net.Web.WebApi.Controllers //销量 (int)GlobalEnumVars.SearchGoodType.Sales => await _goodsServices.QueryListByTypeAsync(p => p.id > 0, entity.num, p => p.buyCount, orderBy, true, true, 20), //价格 - (int)GlobalEnumVars.SearchGoodType.Price => await _goodsServices.QueryListByTypeAsync(p => p.id > 0, entity.num, p => p.buyCount, orderBy, true, true, 20), + (int)GlobalEnumVars.SearchGoodType.Price => await _goodsServices.QueryListByTypeAsync(p => p.id > 0, entity.num, p => p.price, orderBy, true, true, 20), //是否推荐 (int)GlobalEnumVars.SearchGoodType.Recommend => await _goodsServices.QueryListByTypeAsync(p => p.id > 0, entity.num, p => p.isRecommend, orderBy, true, true, 20), //是否参与优惠