From 91e12d1c5b59f5606c305d979e9785bed5b7c9b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E6=98=8A=E5=A4=A9?= <442384644@qq.com> Date: Tue, 29 Sep 2026 12:42:46 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=AE=9E=E7=89=A9=E5=95=86=E5=93=81):=20?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E9=AB=98=E7=BA=A7=E7=AD=9B=E9=80=89=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E6=9C=AA=E9=80=8F=E4=BC=A0=E5=AF=BC=E8=87=B4=E6=90=9C?= =?UTF-8?q?=E7=B4=A2=E5=A4=B1=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit list() 的 getMore 漏收 spec_type/is_gift/vip_product/price_s/stock_s/sales_s/time, 前端传参被丢弃,筛选形同虚设;补齐后服务层搜索器按同口径生效 --- .../product/normal/controller/admin/ProductController.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/backend/modules/product/normal/controller/admin/ProductController.php b/backend/modules/product/normal/controller/admin/ProductController.php index 031f09f37..7795ebb7e 100644 --- a/backend/modules/product/normal/controller/admin/ProductController.php +++ b/backend/modules/product/normal/controller/admin/ProductController.php @@ -29,6 +29,13 @@ class ProductController extends AuthController $where = $this->request->getMore([ ['store_name', ''], ['cate_id', ''], + ['spec_type', ''], + ['is_gift', ''], + ['vip_product', ''], + ['price_s', []], + ['stock_s', []], + ['sales_s', []], + ['time', ''], ['page', 1], ['limit', 20], ['type', '1'],