作者 lyh

gx

... ... @@ -75,6 +75,7 @@ if (!function_exists('http_post')) {
$res = curl_exec($ch);
if (curl_errno($ch)) {
@file_put_contents(storage_path('logs/lyh_error.log'), var_export($url, true) . PHP_EOL, FILE_APPEND);
@file_put_contents(storage_path('logs/lyh_error.log'), var_export($post_data, true) . PHP_EOL, FILE_APPEND);
@file_put_contents(storage_path('logs/lyh_error.log'), var_export($res, true) . PHP_EOL, FILE_APPEND);
}
curl_close($ch);
... ...