|
...
|
...
|
@@ -77,7 +77,6 @@ if (!function_exists('http_post')) { |
|
|
|
$error_message = curl_error($ch);
|
|
|
|
@file_put_contents(storage_path('logs/lyh_error.log'), var_export($error_message, 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);
|
|
|
|
if($is_json){
|
|
|
|
return json_decode($res, true);
|
...
|
...
|
|