作者 lyh

gx

... ... @@ -48,6 +48,8 @@ class TencentCosService extends BaseService
$url = 'https://'.$this->config['bucket'].'.cos.'.$this->config['cosRegion'].'.myqcloud.com'.$pathname.'?sign='.$signature;
// 打开文件流
$url_path = config('filesystems.disks.upload')['root'].$path;
var_dump($url_path);
die();
$fileContent = file_get_contents($url_path);
return $this->http_put($url,$fileContent);
}
... ...