|
@@ -184,6 +184,17 @@ class LowPriceGoodsDataJobs implements ShouldQueue
|
|
|
return true;
|
|
return true;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
+ //是否命中品牌
|
|
|
|
|
+ if ($product_brand != '') {
|
|
|
|
|
+ $hit_product_brand = false;
|
|
|
|
|
+ if (strpos($product_data['product_brand'], $product_brand) !== false) {
|
|
|
|
|
+ $hit_product_brand = true;
|
|
|
|
|
+ }
|
|
|
|
|
+ if ($hit_product_brand != true){
|
|
|
|
|
+ // Log::info('job_error', '数据清洗-低价挂网商品队列日志,未命中品牌', ['data' => $this->message_data]);
|
|
|
|
|
+ return true;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
//-------------------------------------- 清洗规则(结束) --------------------------------------
|
|
//-------------------------------------- 清洗规则(结束) --------------------------------------
|
|
|
|
|
|
|
|
//-------------------------------------- 处理营业执照地区信息(开始) --------------------------------------
|
|
//-------------------------------------- 处理营业执照地区信息(开始) --------------------------------------
|