作者 赵彬吉
... ... @@ -147,7 +147,8 @@ class PostInquiryForward extends Command
'ip' => $detail['ip'],
'url' => $log['url'],
'device_port' => $detail['device_port'],
'referrer_url' => $detail['referrer']
'referrer_url' => $detail['referrer'],
'user_agent' => $detail['user_agent']
];
$url = $website . 'api/traffic_visit/';
$res = Http::withoutVerifying()->timeout(30)->withHeaders(['User-Agent' => $detail['user_agent']])->post($url, $data)->json();
... ...
... ... @@ -12,7 +12,8 @@ class AutoPullNotify extends Base
{
return [
1 => '硅谷云服务器',
20 => '硅谷建站服务器',
20 => '硅谷建站服务器01',
25 => '硅谷建站服务器02',
15 => '硅谷IDC服务器01(6.0美服1)',
14 => '硅谷IDC服务器02(6.0美服2)',
21 => '硅谷IDC服务器03(6.0美服3)',
... ...