正在显示
1 个修改的文件
包含
0 行增加
和
2 行删除
| @@ -25,8 +25,6 @@ class CosService | @@ -25,8 +25,6 @@ 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; | ||
| 30 | $cos = config('filesystems.disks.cos'); | 28 | $cos = config('filesystems.disks.cos'); |
| 31 | $cosClient = new Client([ | 29 | $cosClient = new Client([ |
| 32 | 'region' => $cos['region'], | 30 | 'region' => $cos['region'], |
-
请 注册 或 登录 后发表评论