正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
| @@ -74,6 +74,7 @@ if (!function_exists('http_post')) { | @@ -74,6 +74,7 @@ if (!function_exists('http_post')) { | ||
| 74 | curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); | 74 | curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); |
| 75 | $res = curl_exec($ch); | 75 | $res = curl_exec($ch); |
| 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($res, true) . PHP_EOL, FILE_APPEND); | 78 | @file_put_contents(storage_path('logs/lyh_error.log'), var_export($res, true) . PHP_EOL, FILE_APPEND); |
| 78 | } | 79 | } |
| 79 | curl_close($ch); | 80 | curl_close($ch); |
-
请 注册 或 登录 后发表评论