作者 lyh

gx

@@ -80,7 +80,7 @@ class AmazonS3Service @@ -80,7 +80,7 @@ class AmazonS3Service
80 ]; 80 ];
81 $stream_context = stream_context_create($opts); 81 $stream_context = stream_context_create($opts);
82 $file_handle = fopen($files, 'rb', null, $stream_context); 82 $file_handle = fopen($files, 'rb', null, $stream_context);
83 - @file_put_contents(storage_path('logs/lyh_error.log'), var_export($file_handle, true) . PHP_EOL, FILE_APPEND); 83 + @file_put_contents(storage_path('logs/lyh_error.log'), var_export($file_handle.'1111111111', true) . PHP_EOL, FILE_APPEND);
84 if ($file_handle === false) { 84 if ($file_handle === false) {
85 @file_put_contents(storage_path('logs/lyh_error.log'), var_export(2222222, true) . PHP_EOL, FILE_APPEND); 85 @file_put_contents(storage_path('logs/lyh_error.log'), var_export(2222222, true) . PHP_EOL, FILE_APPEND);
86 return '无法打开文件'; 86 return '无法打开文件';