作者 lyh

gx

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