作者 lyh

gx

@@ -77,6 +77,7 @@ if (!function_exists('http_post')) { @@ -77,6 +77,7 @@ 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);
80 curl_close($ch); 81 curl_close($ch);
81 if($is_json){ 82 if($is_json){
82 return json_decode($res, true); 83 return json_decode($res, true);