正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -34,7 +34,7 @@ class CosService | @@ -34,7 +34,7 @@ class CosService | ||
| 34 | ], | 34 | ], |
| 35 | ]); | 35 | ]); |
| 36 | $key = $path.'/'.$filename; | 36 | $key = $path.'/'.$filename; |
| 37 | - $Body = $binary ? $files : fopen($files->getRealPath(), 'r'); | 37 | + $Body = fopen($files->getRealPath(), 'r'); |
| 38 | @file_put_contents(storage_path('logs/lyh_error.log'), var_export($Body, true) . PHP_EOL, FILE_APPEND); | 38 | @file_put_contents(storage_path('logs/lyh_error.log'), var_export($Body, true) . PHP_EOL, FILE_APPEND); |
| 39 | $options = [ | 39 | $options = [ |
| 40 | 'Bucket' => $cos['bucket'], | 40 | 'Bucket' => $cos['bucket'], |
-
请 注册 或 登录 后发表评论