|
...
|
...
|
@@ -223,6 +223,8 @@ class FileController |
|
|
|
public function downLoad(){
|
|
|
|
$file_model = new File();
|
|
|
|
$info = $file_model->read(['path' => str_replace_url($this->param['path'])]);
|
|
|
|
var_dump($info);
|
|
|
|
die();
|
|
|
|
if ($info === false) {
|
|
|
|
$this->response('指定文件不存在!', Code::USER_ERROR);
|
|
|
|
}
|
...
|
...
|
|