正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -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 | } |
-
请 注册 或 登录 后发表评论