作者 lyh

gx

@@ -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 }