作者 lyh

gx

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