|
...
|
...
|
@@ -34,7 +34,7 @@ class CosService |
|
|
|
],
|
|
|
|
]);
|
|
|
|
$key = $path.'/'.$filename;
|
|
|
|
$Body = $binary ? $files : fopen($files->getRealPath(), 'r');
|
|
|
|
$Body = fopen($files->getRealPath(), 'r');
|
|
|
|
@file_put_contents(storage_path('logs/lyh_error.log'), var_export($Body, true) . PHP_EOL, FILE_APPEND);
|
|
|
|
$options = [
|
|
|
|
'Bucket' => $cos['bucket'],
|
...
|
...
|
|