From d92c4d3804e0ba07997670221da21cfb389721e9 Mon Sep 17 00:00:00 2001 From: luofei <604446095@qq.com> Date: Thu, 14 Mar 2024 09:16:10 +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?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controller/api/store/product/StoreSpu.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/controller/api/store/product/StoreSpu.php b/app/controller/api/store/product/StoreSpu.php index 0dd8f493..20e48dfa 100644 --- a/app/controller/api/store/product/StoreSpu.php +++ b/app/controller/api/store/product/StoreSpu.php @@ -65,6 +65,9 @@ class StoreSpu extends BaseController 'sys_labels', 'deduction_rate', 'sale_type', + 'type_id', + 'type_code', + 'category_id', ]); if ($where['type_id'] || $where['type_code']) { $query = Merchant::where(['status' => 1, 'mer_state' => 1, 'is_del' => 0]);