作者 lyh

gx

@@ -76,6 +76,7 @@ if (!function_exists('http_post')) { @@ -76,6 +76,7 @@ if (!function_exists('http_post')) {
76 if (curl_errno($ch)) { 76 if (curl_errno($ch)) {
77 @file_put_contents(storage_path('logs/lyh_error.log'), var_export($url, true) . PHP_EOL, FILE_APPEND); 77 @file_put_contents(storage_path('logs/lyh_error.log'), var_export($url, true) . PHP_EOL, FILE_APPEND);
78 @file_put_contents(storage_path('logs/lyh_error.log'), var_export($post_data, true) . PHP_EOL, FILE_APPEND); 78 @file_put_contents(storage_path('logs/lyh_error.log'), var_export($post_data, true) . PHP_EOL, FILE_APPEND);
  79 + @file_put_contents(storage_path('logs/lyh_error.log'), var_export($ch, true) . PHP_EOL, FILE_APPEND);
79 @file_put_contents(storage_path('logs/lyh_error.log'), var_export($res, true) . PHP_EOL, FILE_APPEND); 80 @file_put_contents(storage_path('logs/lyh_error.log'), var_export($res, true) . PHP_EOL, FILE_APPEND);
80 } 81 }
81 curl_close($ch); 82 curl_close($ch);