diff --git a/backend/src/main/java/io/metersphere/commons/constants/FileType.java b/backend/src/main/java/io/metersphere/commons/constants/FileType.java index 8f74000499..7fba285277 100644 --- a/backend/src/main/java/io/metersphere/commons/constants/FileType.java +++ b/backend/src/main/java/io/metersphere/commons/constants/FileType.java @@ -4,7 +4,9 @@ public enum FileType { JMX(".jmx"), CSV(".csv"), JSON(".json"), PDF(".pdf"), JPG(".jpg"), PNG(".png"), JPEG(".jpeg"), DOC(".doc"), XLSX(".xlsx"), DOCX(".docx"), JAR(".jar"), JS(".js"), TXT(".txt"), - P12("p12"),JKS("jks"),PFX("pfx"); + P12(".p12"), JKS(".jks"), PFX(".pfx"), + DER(".der"), CER(".cer"), PEM(".pem"), CRT(".crt"), + ; // 保存后缀 private String suffix;