Parcourir la source

[智价云] 超低价标识更新

tangyuanwang il y a 15 heures
Parent
commit
73cae62c90
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      app/Jobs/Manager/Process/LowPriceGoodsDataJobs.php

+ 1 - 1
app/Jobs/Manager/Process/LowPriceGoodsDataJobs.php

@@ -388,7 +388,7 @@ class LowPriceGoodsDataJobs implements ShouldQueue
         }
 
         $is_ultra_low_price = 0; //是否超低价0=否1=是
-        if ($ultra_low_price > 0 && $product_data['online_posting_count'] <= $ultra_low_price) {
+        if ($ultra_low_price > 0 && $product_data['unit_price']  <= $ultra_low_price) {
             $is_ultra_low_price = 1;
         }
         //合并省份市区ID