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]);