|
...
|
...
|
@@ -329,7 +329,7 @@ class PostInquiryForward extends Command |
|
|
|
'submit_time' => date('Y-m-d H:i:s'),
|
|
|
|
'source' => 5,
|
|
|
|
];
|
|
|
|
$url = 'https://www.globalso.site/api/external-interface/add/fa043f9cbec6b38f';
|
|
|
|
$url = 'https://form.globalso.com/api/external-interface/add/fa043f9cbec6b38f';
|
|
|
|
$res = Http::withoutVerifying()->timeout(30)->withHeaders(['User-Agent' => $detail['user_agent']])->post($url, $data)->json();
|
|
|
|
if (empty($res['status']) || $res['status'] != 200) {
|
|
|
|
$log->status = InquiryRelayDetailLog::STATUS_FAIL;
|
...
|
...
|
|