|
...
|
...
|
@@ -73,7 +73,7 @@ class FileManageController extends BaseController |
|
|
|
$parsed_url = parse_url($this->param['path']);
|
|
|
|
$fileUrl = isset($parsed_url['scheme'])
|
|
|
|
? $this->param['path']
|
|
|
|
: 'https://file.globalso.com' . $this->param['path'];
|
|
|
|
: 'https://v6-file.globalso.com' . $this->param['path'];
|
|
|
|
// 使用 cURL 获取文件头信息
|
|
|
|
$ch = curl_init();
|
|
|
|
curl_setopt($ch, CURLOPT_URL, $fileUrl);
|
...
|
...
|
|