作者 lyh

gx

@@ -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);