正在显示
2 个修改的文件
包含
2 行增加
和
0 行删除
| @@ -354,6 +354,7 @@ class FileController | @@ -354,6 +354,7 @@ class FileController | ||
| 354 | 'file'=>$path, | 354 | 'file'=>$path, |
| 355 | 'file_link'=>getFileUrl($path,$this->upload_location), | 355 | 'file_link'=>getFileUrl($path,$this->upload_location), |
| 356 | 'name'=>$name, | 356 | 'name'=>$name, |
| 357 | + 'file_download'=>url('a/download_files?path='.$path) | ||
| 357 | ]; | 358 | ]; |
| 358 | return $data; | 359 | return $data; |
| 359 | } | 360 | } |
| @@ -427,6 +427,7 @@ class ImageController extends Controller | @@ -427,6 +427,7 @@ class ImageController extends Controller | ||
| 427 | 'image'=>$path, | 427 | 'image'=>$path, |
| 428 | 'image_link'=>getImageUrl($path), | 428 | 'image_link'=>getImageUrl($path), |
| 429 | 'name'=>$name, | 429 | 'name'=>$name, |
| 430 | + 'image_download'=>url('a/download_images?path='.$path) | ||
| 430 | ]; | 431 | ]; |
| 431 | return $data; | 432 | return $data; |
| 432 | } | 433 | } |
-
请 注册 或 登录 后发表评论