|
...
|
...
|
@@ -99,6 +99,7 @@ class AmazonS3Service |
|
|
|
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
|
|
|
|
// 执行请求并获取内容
|
|
|
|
$response = curl_exec($curl);
|
|
|
|
@file_put_contents(storage_path('logs/lyh_error.log'), var_export($response, true) . PHP_EOL, FILE_APPEND);
|
|
|
|
// 检查请求是否成功
|
|
|
|
if ($response === false) {
|
|
|
|
$error = curl_error($curl);
|
...
|
...
|
|