支持下载多个云端录像的zip压缩包

This commit is contained in:
648540858
2024-05-08 11:18:47 +08:00
parent b57dbeac13
commit 186b00e9b3
8 changed files with 302 additions and 12 deletions

View File

@@ -106,6 +106,14 @@ public class DateUtil {
return formatter.format(LocalDateTime.ofInstant(instant, ZoneId.of(zoneStr)));
}
/**
* 时间戳 转 yyyy_MM_dd_HH_mm_ss
*/
public static String timestampMsToUrlToyyyy_MM_dd_HH_mm_ss(long timestamp) {
Instant instant = Instant.ofEpochMilli(timestamp);
return urlFormatter.format(LocalDateTime.ofInstant(instant, ZoneId.of(zoneStr)));
}
/**
* yyyy_MM_dd_HH_mm_ss 转时间戳(毫秒)
*