|
...
|
...
|
@@ -35,7 +35,7 @@ class SemrushApi |
|
|
|
];
|
|
|
|
try {
|
|
|
|
$res = HttpUtils::get($url, $params);
|
|
|
|
return $this->data($res)[0];
|
|
|
|
return $this->data($res)[0] ?? [];
|
|
|
|
}catch (\Exception|GuzzleException $e){
|
|
|
|
errorLog('获取站点外链数据失败', $params, $e);
|
|
|
|
return false;
|
...
|
...
|
|