新增 查询充电启动状态缓存,查询启动充电结果逻辑

This commit is contained in:
Lemon
2025-12-10 11:13:30 +08:00
parent 37decc1e6d
commit fbc97a0cd9
4 changed files with 23 additions and 4 deletions

View File

@@ -19,7 +19,8 @@ public class ZipUtil {
}
String fileName = "images-" + System.currentTimeMillis() + ".zip";
File zipFile = new File(fileName);
try (FileOutputStream fos = new FileOutputStream(zipFile); ZipOutputStream zos = new ZipOutputStream(fos)) {
try (FileOutputStream fos = new FileOutputStream(zipFile);
ZipOutputStream zos = new ZipOutputStream(fos)) {
for (int i = 0; i < imageUrls.size(); i++) {
String imageUrl = imageUrls.get(i);
URL url = new URL(imageUrl);