feat: 测试环境配置调整

This commit is contained in:
caiyuchao committed 2025-07-30 16:10:07 +08:00
1 parent 297823d224
commit 7e0084da70
2 files changed
+253 -2

No files matched your search

@@ -323,8 +323,8 @@ public class LicenseServiceImpl implements LicenseService {
}
}
File tempFile = new File("D:/temp/temp.zip");
// File tempFile = new File("/usr/local/licGen/temp.zip");
// File tempFile = new File("D:/temp/temp.zip");
File tempFile = new File("/usr/local/licGen/temp.zip");
ZipUtil.zip(tempFile, pathList.toArray(new String[0]), inputStreamList.toArray(new ByteArrayInputStream[inputStreamList.size()]));
String fileURL = fileApi.createFile(FileUtil.readBytes(tempFile), licenseDO.getSerialNo() + "_" + LocalDateTime.now().format(DateTimeFormatter.ofPattern("yyyy-MM-dd"))+".zip");