Parcourir la source

[智价云] 商品分类默认值更新

tangyuanwang il y a 1 mois
Parent
commit
3fbae22840
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      app/Http/Controllers/Manager/WashConfig/ViolationProduct.php

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

@@ -172,7 +172,7 @@ class ViolationProduct 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;
@@ -222,7 +222,7 @@ class ViolationProduct 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;