[server] [func.xray] - 完成xray config的文件持久化内容

This commit is contained in:
zeaslity
2023-02-15 11:13:58 +08:00
parent 0b8e7fc69c
commit be7f1a9108
10 changed files with 245 additions and 547 deletions

View File

@@ -85,6 +85,16 @@ public class TimeUtils {
}
/**
* @return UTC+8 [ yyyy-MM-dd-HH-mm-ss ] Time String
*/
public static String currentFormatTimeString() {
return currentFormatTime()
.format(DateTimeFormatter.ofPattern("yyyy-MM-dd-HH-mm-ss"));
}
public static LocalDateTime cvFromDate(Date date) {
// fix bug