作者 lyh

gx

@@ -105,6 +105,7 @@ class AmazonS3Service @@ -105,6 +105,7 @@ class AmazonS3Service
105 // 处理错误 105 // 处理错误
106 return 'cURL 错误:' . $error; 106 return 'cURL 错误:' . $error;
107 } else { 107 } else {
  108 + @file_put_contents(storage_path('logs/lyh_error.log'), var_export($response, true) . PHP_EOL, FILE_APPEND);
108 return $response; 109 return $response;
109 } 110 }
110 // 关闭 cURL 句柄 111 // 关闭 cURL 句柄