正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -50,8 +50,6 @@ class TencentCosService extends BaseService | @@ -50,8 +50,6 @@ 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(); | ||
| 55 | $file = fopen($url_path, 'r'); | 53 | $file = fopen($url_path, 'r'); |
| 56 | return $this->http_put($url,$headers,$file,$url_path); | 54 | return $this->http_put($url,$headers,$file,$url_path); |
| 57 | } | 55 | } |
| @@ -78,6 +76,8 @@ class TencentCosService extends BaseService | @@ -78,6 +76,8 @@ class TencentCosService extends BaseService | ||
| 78 | // 关闭文件流和CURL句柄 | 76 | // 关闭文件流和CURL句柄 |
| 79 | fclose($file); | 77 | fclose($file); |
| 80 | curl_close($curl); | 78 | curl_close($curl); |
| 79 | + var_dump($response); | ||
| 80 | + die(); | ||
| 81 | return $response; | 81 | return $response; |
| 82 | } | 82 | } |
| 83 | 83 |
-
请 注册 或 登录 后发表评论