作者 lyh

gx

@@ -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 }