|
|
@@ -99,7 +99,12 @@ class LowPriceGoodsDataJobs implements ShouldQueue
|
|
|
return true;
|
|
|
}
|
|
|
//过滤售罄数据,是否售罄0=否1=是
|
|
|
- // if ($product_data['is_sold_out'] == 1) return true;
|
|
|
+ if ($company_id == 5) {
|
|
|
+ if ($product_data['is_sold_out'] == 1) {
|
|
|
+ // Log::info('job_error', '数据清洗-低价挂网商品队列日志,未命中售罄数据', ['data' => $this->message_data]);
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ }
|
|
|
//数据是否命中低价
|
|
|
if ($product_data['number'] < 1 || $product_data['min_price'] < 0.01){
|
|
|
// Log::info('job_error', '数据清洗-低价挂网商品队列日志,未命中数量', ['data' => $this->message_data]);
|