|
...
|
...
|
@@ -297,7 +297,7 @@ class FileController |
|
|
|
$cos = new CosService();
|
|
|
|
return $cos->downloadFile($info['path']);
|
|
|
|
}else{
|
|
|
|
$fileUrl = $this->config['root'].'/'.$info['path'];
|
|
|
|
$fileUrl = $this->config['root'].$info['path'];
|
|
|
|
if (!is_file($fileUrl)) {
|
|
|
|
$this->response('指定文件已被系统删除!', Code::USER_ERROR);
|
|
|
|
}
|
...
|
...
|
|