From 0ae8e6b8fe938a8b33c575172d25fddc3a69b422 Mon Sep 17 00:00:00 2001 From: JianWeie Date: Mon, 15 Nov 2021 23:57:56 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E5=A4=8D=E3=80=91=E8=8E=B7?= =?UTF-8?q?=E5=8F=96=E5=95=86=E5=93=81=E5=88=97=E8=A1=A8=E5=AD=98=E5=9C=A8?= =?UTF-8?q?=E5=95=86=E5=93=81=E7=9B=AE=E5=BD=95=E5=8F=AF=E8=83=BD=E4=B8=8D?= =?UTF-8?q?=E5=AD=98=E5=9C=A8=E7=9A=84=E9=97=AE=E9=A2=98=E3=80=82?= 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 55816c8..9c3f345 100644 --- a/CoreCms.Net.Web.WebApi/Controllers/GoodController.cs +++ b/CoreCms.Net.Web.WebApi/Controllers/GoodController.cs @@ -196,7 +196,7 @@ namespace CoreCms.Net.Web.WebApi.Controllers className = category.name; } - var childs = await _goodsCategoryServices.QueryListByClauseAsync(p => p.parentId == category.id); + var childs = await _goodsCategoryServices.QueryListByClauseAsync(p => p.parentId == catId); if (childs.Any()) { var ids = childs.Select(p => p.id).ToList();