正在显示
1 个修改的文件
包含
2 行增加
和
0 行删除
| @@ -25,6 +25,8 @@ class CosService | @@ -25,6 +25,8 @@ class CosService | ||
| 25 | */ | 25 | */ |
| 26 | public function uploadFile(&$files,$path,$filename, $binary = false,$watermarkOptions = null) | 26 | public function uploadFile(&$files,$path,$filename, $binary = false,$watermarkOptions = null) |
| 27 | { | 27 | { |
| 28 | + $files = 'globalso-v6-1309677403.cos.ap-hongkong.myqcloud.com/upload/m/image_other/2024-08/3.jpg'; | ||
| 29 | + $binary = true; | ||
| 28 | $cos = config('filesystems.disks.cos'); | 30 | $cos = config('filesystems.disks.cos'); |
| 29 | $cosClient = new Client([ | 31 | $cosClient = new Client([ |
| 30 | 'region' => $cos['region'], | 32 | 'region' => $cos['region'], |
-
请 注册 或 登录 后发表评论