作者 lyh

gx

@@ -56,7 +56,7 @@ class FileController @@ -56,7 +56,7 @@ class FileController
56 if ($info === false) { 56 if ($info === false) {
57 $this->response('指定文件不存在!', Code::USER_ERROR); 57 $this->response('指定文件不存在!', Code::USER_ERROR);
58 } 58 }
59 - $path = $info['path']; 59 + $path = $this->path.$info['path'];
60 if (!is_file($path)) { 60 if (!is_file($path)) {
61 $this->response('指定文件已被系统删除!', Code::USER_ERROR); 61 $this->response('指定文件已被系统删除!', Code::USER_ERROR);
62 } 62 }