作者 lyh

gx

... ... @@ -318,7 +318,7 @@ class FileController
if ($info === false) {
$this->response('指定文件不存在!', Code::USER_ERROR);
}
$data = ['file_download'=>url('a/downLoad/files?path='.$info['path'])];
$data = ['file_download'=>url('a/download_files?path='.$info['path'])];
$this->response('success',Code::SUCCESS,$data);
}
}
... ...
... ... @@ -409,7 +409,7 @@ class ImageController extends Controller
if ($info === false) {
$this->response('指定文件不存在!', Code::USER_ERROR);
}
$data = ['image_download'=>url('a/downLoad/images?path='.$info['path'])];
$data = ['image_download'=>url('a/download_images?path='.$info['path'])];
$this->response('success',Code::SUCCESS,$data);
}
}
... ...