fix: 限制文件名

This commit is contained in:
2023-11-07 09:15:21 +08:00
parent 69ae50583e
commit 00d97c39c2
@@ -1989,7 +1989,7 @@ public class LawsCommonServiceImpl implements ILawsCommonService {
ByteArrayOutputStream baosZip = new ByteArrayOutputStream();
try (ZipOutputStream zos = new ZipOutputStream(baosZip)) {
// 添加第一个文件到ZIP中
ZipEntry entry1 = new ZipEntry("标准导入模板.xlsx");
ZipEntry entry1 = new ZipEntry("标准导入模板.xlsx");
zos.putNextEntry(entry1);
zos.write(mainWorkbookBytes);
zos.closeEntry();