更新数据同步
This commit is contained in:
@@ -191,7 +191,7 @@ public class viewController {
|
|||||||
public void downloadFile(HttpServletResponse response, String fileId) {
|
public void downloadFile(HttpServletResponse response, String fileId) {
|
||||||
try {
|
try {
|
||||||
BizFiles bizFile = filesService.getById(fileId);
|
BizFiles bizFile = filesService.getById(fileId);
|
||||||
File file = new File(bizFile.getFileName());
|
File file = new File(bizFile.getFilePath());
|
||||||
if (file.exists()) {
|
if (file.exists()) {
|
||||||
FileUtils.downloadFile(response, file, bizFile.getFileName());
|
FileUtils.downloadFile(response, file, bizFile.getFileName());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user