From 197a31668e85e8a159ae9202d0c44d30a7a65dc9 Mon Sep 17 00:00:00 2001 From: lewis <604446095@qq.com> Date: Thu, 17 Apr 2025 09:57:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=95=86=E5=93=81=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E6=90=9C=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/admin/lists/store_product/StoreProductLists.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/admin/lists/store_product/StoreProductLists.php b/app/admin/lists/store_product/StoreProductLists.php index daf76e63f..67df7f89e 100644 --- a/app/admin/lists/store_product/StoreProductLists.php +++ b/app/admin/lists/store_product/StoreProductLists.php @@ -185,7 +185,7 @@ class StoreProductLists extends BaseAdminDataLists implements ListsSearchInterfa $class_all = $this->request->get('class_all'); if ($class_all) { if (count($class_all) == 1) { - $query->where('top_category_id', $class_all[0]); + $query->where('top_cate_id', $class_all[0]); } elseif (count($class_all) == 2) { $query->where(function ($query) use ($class_all) { $query->where('two_cate_id', $class_all[1])->whereOr('cate_id', $class_all[1]);