导出的问题
This commit is contained in:
parent
0cb00f06bf
commit
a46e067f6f
|
|
@ -820,7 +820,7 @@ public class EdFileInfoServiceImpl extends ServiceImpl<EdFileInfoMapper, EdFileI
|
||||||
FileSystemResource fileSystemResource = new FileSystemResource(file);
|
FileSystemResource fileSystemResource = new FileSystemResource(file);
|
||||||
HttpHeaders headers = new HttpHeaders();
|
HttpHeaders headers = new HttpHeaders();
|
||||||
headers.add("Cache-Control", "no-cache, no-store, must-revalidate");
|
headers.add("Cache-Control", "no-cache, no-store, must-revalidate");
|
||||||
String tmpFileName = fileSystemResource.getFilename() + "_" + nowTimeStr;
|
String tmpFileName = fileSystemResource.getFilename();
|
||||||
String fileName = Base64.encode(tmpFileName);
|
String fileName = Base64.encode(tmpFileName);
|
||||||
headers.add("Pragma", "no-cache");
|
headers.add("Pragma", "no-cache");
|
||||||
headers.add("Expires", "0");
|
headers.add("Expires", "0");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue