Przeglądaj źródła

[智价云] 移除商品分类强制校验

public 2 miesięcy temu
rodzic
commit
0132400281

+ 2 - 2
app/Http/Controllers/Manager/WashConfig/LowPriceGoods.php

@@ -147,7 +147,7 @@ class LowPriceGoods extends Controller
         $all_data['store_scope'] = $store_scope;
         $company_scope = request('company_scope', '');
         $all_data['company_scope'] = $company_scope;
-        $category_id = request('category_id', '');
+        $category_id = request('category_id', '0');
         $all_data['category_id'] = $category_id;
         $specify_responsible_person = request('specify_responsible_person', '0');
         $all_data['specify_responsible_person'] = $specify_responsible_person;
@@ -187,7 +187,7 @@ class LowPriceGoods extends Controller
         $all_data['store_scope'] = $store_scope;
         $company_scope = request('company_scope', '');
         $all_data['company_scope'] = $company_scope;
-        $category_id = request('category_id', '');
+        $category_id = request('category_id', '0');
         $all_data['category_id'] = $category_id;
         $specify_responsible_person = request('specify_responsible_person', '0');
         $all_data['specify_responsible_person'] = $specify_responsible_person;