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