|
...
|
...
|
@@ -103,7 +103,7 @@ class QuanqiusouApi |
|
|
|
Cache::put($key, $res, 24 * 3600);
|
|
|
|
}
|
|
|
|
} catch (\Exception | GuzzleException $e) {
|
|
|
|
@file_put_contents(storage_path('logs/lyh_error.log'), var_export($res.'获取谷歌排名数据失败', true) . PHP_EOL, FILE_APPEND);
|
|
|
|
@file_put_contents(storage_path('logs/lyh_error.log'), var_export('获取谷歌排名数据失败', true) . PHP_EOL, FILE_APPEND);
|
|
|
|
errorLog('获取谷歌排名数据失败', $api_no, $e);
|
|
|
|
return false;
|
|
|
|
}
|
...
|
...
|
|