正在显示
1 个修改的文件
包含
0 行增加
和
1 行删除
| @@ -298,7 +298,6 @@ class ImageController extends Controller | @@ -298,7 +298,6 @@ class ImageController extends Controller | ||
| 298 | */ | 298 | */ |
| 299 | public function download(){ | 299 | public function download(){ |
| 300 | $imageModel = new ImageModel(); | 300 | $imageModel = new ImageModel(); |
| 301 | - ; | ||
| 302 | $info = $imageModel->read(['path' => str_replace_url($this->param['path'])]); | 301 | $info = $imageModel->read(['path' => str_replace_url($this->param['path'])]); |
| 303 | if ($info === false) { | 302 | if ($info === false) { |
| 304 | $this->response('指定文件不存在!', Code::USER_ERROR); | 303 | $this->response('指定文件不存在!', Code::USER_ERROR); |
-
请 注册 或 登录 后发表评论