|
|
@@ -77,7 +77,7 @@ class LowPriceGoodsDataJobs implements ShouldQueue
|
|
|
$product_name = $message_data['product_name']; //商品名称
|
|
|
$product_specs = $message_data['product_specs']; //商品规格
|
|
|
$enable_full_quantity = $message_data['enable_full_quantity']; //是否启用全量采集0=是 1=否
|
|
|
- $suggested_price = $message_data['suggested_price']; //监控价格
|
|
|
+ $suggested_price = (float) $message_data['suggested_price']; //监控价格
|
|
|
$ultra_low_price = $message_data['ultra_low_price']; //监控超低价格
|
|
|
$store_scope = $message_data['store_scope']; //店铺范围1=全部店铺2=指定店铺
|
|
|
$company_scope = $message_data['company_scope']; //公司范围1=全部公司2=指定公司
|
|
|
@@ -112,7 +112,7 @@ class LowPriceGoodsDataJobs implements ShouldQueue
|
|
|
}
|
|
|
//计算单盒价格
|
|
|
$unit_price = round($product_data['min_price'] / $product_data['number'], 2);
|
|
|
- if ($unit_price > $suggested_price){
|
|
|
+ if ($unit_price >= $suggested_price){
|
|
|
// Log::info('job_error', '数据清洗-低价挂网商品队列日志,未命中低价', ['data' => $this->message_data]);
|
|
|
return true;
|
|
|
}
|