|
...
|
...
|
@@ -298,7 +298,6 @@ class ImageController extends Controller |
|
|
|
*/
|
|
|
|
public function download(){
|
|
|
|
$imageModel = new ImageModel();
|
|
|
|
;
|
|
|
|
$info = $imageModel->read(['path' => str_replace_url($this->param['path'])]);
|
|
|
|
if ($info === false) {
|
|
|
|
$this->response('指定文件不存在!', Code::USER_ERROR);
|
...
|
...
|
|