|
...
|
...
|
@@ -49,6 +49,7 @@ class postInquiry extends Command |
|
|
|
}
|
|
|
|
// 询盘数据入库
|
|
|
|
foreach ($list as $key => $val) {
|
|
|
|
$this->output('开始执行' . $val->id);
|
|
|
|
try {
|
|
|
|
$detail = ReInquiryDetail::find($val['detail_id']);
|
|
|
|
if($val['type'] == 1){
|
|
...
|
...
|
@@ -79,6 +80,7 @@ class postInquiry extends Command |
|
|
|
}
|
|
|
|
|
|
|
|
public function visit(ReInquiryDetail $detail, ReInquiryDetailLog $log){
|
|
|
|
$detail['re_website'] = 'https://' . $detail['re_website'] . '/';
|
|
|
|
if($detail['is_v6']) {
|
|
|
|
$data = [
|
|
|
|
'ip' => $detail['ip'],
|
|
...
|
...
|
@@ -127,6 +129,7 @@ class postInquiry extends Command |
|
|
|
}
|
|
|
|
|
|
|
|
public function inquiry(ReInquiryDetail $detail, ReInquiryDetailLog $log){
|
|
|
|
$detail['re_website'] = 'https://' . $detail['re_website'] . '/';
|
|
|
|
// v6
|
|
|
|
if($detail['is_v6']) {
|
|
|
|
$data = [
|
...
|
...
|
|