Browse Source

[智价云] 采集校验更新

tangyuanwang 1 day ago
parent
commit
0e99d22672
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/Http/Controllers/Manager/Collect/Product.php

+ 2 - 2
app/Http/Controllers/Manager/Collect/Product.php

@@ -365,7 +365,7 @@ class Product extends Controller
                     ->first();
                 
                 $platform_name = isset($platform_data[$platform]) ? $platform_data[$platform] : '';
-                if (!empty($product_specs_log) && $status == 0) {
+                if (!empty($product_specs_log)) {
                     return json_send(['code' => 'error', 'msg' => $platform_name . '时间范围内存在重复的商品规格启用记录']);
                 }
             }
@@ -519,7 +519,7 @@ class Product extends Controller
                     ->first();
                 
                 $platform_name = isset($platform_data[$platform]) ? $platform_data[$platform] : '';
-                if (!empty($product_specs_log) && $status == 0) {
+                if (!empty($product_specs_log)) {
                     return json_send(['code' => 'error', 'msg' => $platform_name . '时间范围内存在重复的商品规格启用记录']);
                 }
             }