|
...
|
...
|
@@ -119,7 +119,7 @@ if (!function_exists('http_get')) { |
|
|
|
$access_txt = curl_exec($ch1);
|
|
|
|
if (curl_errno($ch1)) {
|
|
|
|
$error_message = curl_error($ch1);
|
|
|
|
errorLog('请求失败', $url, $error_message);
|
|
|
|
@file_put_contents(storage_path('logs/lyh_error.log'), var_export($error_message, true) . PHP_EOL, FILE_APPEND);
|
|
|
|
}
|
|
|
|
curl_close($ch1);
|
|
|
|
return json_decode($access_txt, true);
|
...
|
...
|
|