作者 lyh

gx

@@ -77,7 +77,6 @@ if (!function_exists('http_post')) { @@ -77,7 +77,6 @@ if (!function_exists('http_post')) {
77 $error_message = curl_error($ch); 77 $error_message = curl_error($ch);
78 @file_put_contents(storage_path('logs/lyh_error.log'), var_export($error_message, true) . PHP_EOL, FILE_APPEND); 78 @file_put_contents(storage_path('logs/lyh_error.log'), var_export($error_message, true) . PHP_EOL, FILE_APPEND);
79 } 79 }
80 - @file_put_contents(storage_path('logs/lyh_error.log'), var_export($res, true) . PHP_EOL, FILE_APPEND);  
81 curl_close($ch); 80 curl_close($ch);
82 if($is_json){ 81 if($is_json){
83 return json_decode($res, true); 82 return json_decode($res, true);