|
...
|
...
|
@@ -48,8 +48,6 @@ 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.'/'.$fileName;
|
|
|
|
var_dump($url_path);
|
|
|
|
die();
|
|
|
|
$fileContent = file_get_contents($url_path);
|
|
|
|
return $this->http_put($url,$fileContent);
|
|
|
|
}
|
...
|
...
|
|