Przeglądaj źródła

Merge branch 'wugg-dev' of wugg/phpstock into version1.5

wugg 2 lat temu
rodzic
commit
20916343f1
1 zmienionych plików z 6 dodań i 6 usunięć
  1. 6 6
      app/command/handleYzOrderData.php

+ 6 - 6
app/command/handleYzOrderData.php

@@ -46,12 +46,12 @@ class handleYzOrderData extends Command
 //                    ->where(['skuCode' => $c_data['skuCode'], 'is_del' => 0])
 //                    ->findOrEmpty();
 
-                if ($c_data['discount_price'] < $platform_yz_info['sale_price'] && $c_data['is_approved'] == '0') {
-                    Db::rollback();
-                    $this->callbackYz(['status' => 2, 'id' => $c_data['id'], 'reason' => '价格低于系统售价' . $platform_yz_info['sale_price']]);
-                    Cache::store('redis')->set("YzTimeLimit",0);
-                    return false;//停止执行后续代码
-                }
+//                if ($c_data['discount_price'] < $platform_yz_info['sale_price'] && $c_data['is_approved'] == '0') {
+//                    Db::rollback();
+//                    $this->callbackYz(['status' => 2, 'id' => $c_data['id'], 'reason' => '价格低于系统售价' . $platform_yz_info['sale_price']]);
+//                    Cache::store('redis')->set("YzTimeLimit",0);
+//                    return false;//停止执行后续代码
+//                }
 
                 $standing_book_data = [];