正在显示
1 个修改的文件
包含
2 行增加
和
0 行删除
| @@ -50,6 +50,8 @@ class TencentCosService extends BaseService | @@ -50,6 +50,8 @@ class TencentCosService extends BaseService | ||
| 50 | ); | 50 | ); |
| 51 | // 打开文件流 | 51 | // 打开文件流 |
| 52 | $url_path = config('filesystems.disks.upload')['root'].$path; | 52 | $url_path = config('filesystems.disks.upload')['root'].$path; |
| 53 | + var_dump($url_path); | ||
| 54 | + die(); | ||
| 53 | $file = fopen($url_path, 'r'); | 55 | $file = fopen($url_path, 'r'); |
| 54 | return $this->http_put($url,$headers,$file,$url_path); | 56 | return $this->http_put($url,$headers,$file,$url_path); |
| 55 | } | 57 | } |
-
请 注册 或 登录 后发表评论