正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -34,7 +34,7 @@ class CosService | @@ -34,7 +34,7 @@ class CosService | ||
| 34 | $cosClient->putObject([ | 34 | $cosClient->putObject([ |
| 35 | 'Bucket' => $cos['bucket'], | 35 | 'Bucket' => $cos['bucket'], |
| 36 | 'Key' => $key, | 36 | 'Key' => $key, |
| 37 | - 'Body' => fopen(config('filesystems.disks.upload').$path.'/'.$filename, 'r'), | 37 | + 'Body' => fopen(config('filesystems.disks.upload')['root'].$path.'/'.$filename, 'r'), |
| 38 | ]); | 38 | ]); |
| 39 | return $key; | 39 | return $key; |
| 40 | } | 40 | } |
-
请 注册 或 登录 后发表评论