解压方案新版测试修复乱码Linux问题

This commit is contained in:
BearBen
2021-12-17 09:23:32 +08:00
committed by kl
parent 4d1e2eb9c6
commit 20f328906c
7 changed files with 227 additions and 55 deletions

View File

@ -270,6 +270,9 @@ public class FileHandlerService {
type = FileType.typeFromUrl(url);
suffix = WebUtils.suffixFromUrl(url);
}
if (url.contains("?fileKey=")) {
attribute.setSkipDownLoad(true);
}
attribute.setType(type);
attribute.setName(fileName);
attribute.setSuffix(suffix);