From e6b973050dbcaf552821da1bfe766bf2190844c0 Mon Sep 17 00:00:00 2001 From: CaptainB Date: Tue, 25 Jan 2022 10:19:38 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E6=80=A7=E8=83=BD=E6=B5=8B=E8=AF=95):?= =?UTF-8?q?=20=E6=94=AF=E6=8C=81=E4=B8=8A=E4=BC=A0ssl=E8=AF=81=E4=B9=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/io/metersphere/commons/constants/FileType.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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;