...
|
...
|
@@ -416,8 +416,10 @@ public function visitInfoHandle($referrerUrl) |
|
|
|
|
|
/**
|
|
|
* 是否是爬虫访问
|
|
|
* @param $request
|
|
|
* @return bool
|
|
|
*/
|
|
|
public function isReptile($request): bool
|
|
|
public function isReptile($request)
|
|
|
{
|
|
|
$agent = $request->header('User-Agent');
|
|
|
if (!empty($agent)) {
|
...
|
...
|
|