正在显示
1 个修改的文件
包含
2 行增加
和
0 行删除
| @@ -223,6 +223,8 @@ class FileController | @@ -223,6 +223,8 @@ class FileController | ||
| 223 | public function downLoad(){ | 223 | public function downLoad(){ |
| 224 | $file_model = new File(); | 224 | $file_model = new File(); |
| 225 | $info = $file_model->read(['path' => str_replace_url($this->param['path'])]); | 225 | $info = $file_model->read(['path' => str_replace_url($this->param['path'])]); |
| 226 | + var_dump($info); | ||
| 227 | + die(); | ||
| 226 | if ($info === false) { | 228 | if ($info === false) { |
| 227 | $this->response('指定文件不存在!', Code::USER_ERROR); | 229 | $this->response('指定文件不存在!', Code::USER_ERROR); |
| 228 | } | 230 | } |
-
请 注册 或 登录 后发表评论