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