正在显示
2 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -318,7 +318,7 @@ class FileController | @@ -318,7 +318,7 @@ class FileController | ||
| 318 | if ($info === false) { | 318 | if ($info === false) { |
| 319 | $this->response('指定文件不存在!', Code::USER_ERROR); | 319 | $this->response('指定文件不存在!', Code::USER_ERROR); |
| 320 | } | 320 | } |
| 321 | - $data = ['file_download'=>url('a/downLoad/files?path='.$info['path'])]; | 321 | + $data = ['file_download'=>url('a/download_files?path='.$info['path'])]; |
| 322 | $this->response('success',Code::SUCCESS,$data); | 322 | $this->response('success',Code::SUCCESS,$data); |
| 323 | } | 323 | } |
| 324 | } | 324 | } |
| @@ -409,7 +409,7 @@ class ImageController extends Controller | @@ -409,7 +409,7 @@ class ImageController extends Controller | ||
| 409 | if ($info === false) { | 409 | if ($info === false) { |
| 410 | $this->response('指定文件不存在!', Code::USER_ERROR); | 410 | $this->response('指定文件不存在!', Code::USER_ERROR); |
| 411 | } | 411 | } |
| 412 | - $data = ['image_download'=>url('a/downLoad/images?path='.$info['path'])]; | 412 | + $data = ['image_download'=>url('a/download_images?path='.$info['path'])]; |
| 413 | $this->response('success',Code::SUCCESS,$data); | 413 | $this->response('success',Code::SUCCESS,$data); |
| 414 | } | 414 | } |
| 415 | } | 415 | } |
-
请 注册 或 登录 后发表评论