正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -30,7 +30,7 @@ class CosService | @@ -30,7 +30,7 @@ class CosService | ||
| 30 | 'secretKey' => $cos['credentials']['secretKey'], | 30 | 'secretKey' => $cos['credentials']['secretKey'], |
| 31 | ], | 31 | ], |
| 32 | ]); | 32 | ]); |
| 33 | - $key = $path.'/upload/'.$filename; | 33 | + $key = 'upload'.$path.'/'.$filename; |
| 34 | $cosClient->putObject([ | 34 | $cosClient->putObject([ |
| 35 | 'Bucket' => $cos['bucket'], | 35 | 'Bucket' => $cos['bucket'], |
| 36 | 'Key' => $key, | 36 | 'Key' => $key, |
-
请 注册 或 登录 后发表评论