|
@@ -138,6 +138,7 @@ class LowPriceGoods extends Model
|
|
|
$source_where[] = ['scrape_date', '=', $data['scrape_date']]; //采集日期
|
|
$source_where[] = ['scrape_date', '=', $data['scrape_date']]; //采集日期
|
|
|
} else {
|
|
} else {
|
|
|
$source_where[] = ['link_url', '=', $data['link_url']]; //链接地址
|
|
$source_where[] = ['link_url', '=', $data['link_url']]; //链接地址
|
|
|
|
|
+ $source_where[] = ['scrape_date', '=', $data['scrape_date']]; //链接地址
|
|
|
}
|
|
}
|
|
|
$source_id_log = $this->where($source_where)->select(['id', 'online_posting_price'])->first();
|
|
$source_id_log = $this->where($source_where)->select(['id', 'online_posting_price'])->first();
|
|
|
if (!empty($source_id_log)) {
|
|
if (!empty($source_id_log)) {
|