소스 검색

[智价云] 采集校验更新

tangyuanwang 1 일 전
부모
커밋
0e99d22672
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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 . '时间范围内存在重复的商品规格启用记录']);
                 }
             }