作者 lyh

gx

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