feat: 测试环境配置调整
This commit is contained in:
@@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user