From 9bce48a9f30f7d80c43f43f46d40df20fcb00e15 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期五, 03 二月 2023 09:39:59 +0800 Subject: [PATCH] 1 --- src/main/java/com/lf/server/entity/all/StaticData.java | 57 ++++++++++++++++++++++++++++++++++++++++++++++----------- 1 files changed, 46 insertions(+), 11 deletions(-) diff --git a/src/main/java/com/lf/server/entity/all/StaticData.java b/src/main/java/com/lf/server/entity/all/StaticData.java index a726f39..4625c56 100644 --- a/src/main/java/com/lf/server/entity/all/StaticData.java +++ b/src/main/java/com/lf/server/entity/all/StaticData.java @@ -12,7 +12,7 @@ /** * 鏉冮檺鎺掗櫎璺緞锛�/proxy锛岃姹傚叏閮ㄥ皬鍐� */ - public static String[] EXCLUDE_PATH = new String[]{"/swagger", "/sign/", "/fmeit/", "/floatserver/", "/error"}; + public static String[] EXCLUDE_PATH = new String[]{"/swagger", "/sign/", "/fmeit/", "/perms/", "/floatserver/", "/error"}; /** * 鏁板�硷細4 @@ -33,6 +33,11 @@ * 鏁板�硷細16 */ public final static int SIXTEEN = 16; + + /** + * 鏁板�硷細100 + */ + public final static int ONE_HUNDRED = 100; /** * 鏁板�硷細200 @@ -65,6 +70,11 @@ public final static String COMMA = ","; /** + * 姝f枩鏉� + */ + public final static String SLASH = "/"; + + /** * zip鏂囦欢 */ public final static String ZIP = ".zip"; @@ -75,9 +85,9 @@ public final static String XLS = ".xls"; /** - * SHP鏂囦欢 + * xlsx鏂囦欢 */ - public final static String SHP = ".shp"; + public final static String XLSX = ".xlsx"; /** * MDB鏂囦欢 @@ -85,14 +95,39 @@ public final static String MDB = ".mdb"; /** + * SHP鏂囦欢 + */ + public final static String SHP = ".shp"; + + /** * GDB鏂囦欢 */ public final static String GDB = ".gdb"; /** - * xlsx鏂囦欢 + * IMG鏂囦欢 */ - public final static String XLSX = ".xlsx"; + public final static String IMG = ".img"; + + /** + * MPT鏂囦欢 + */ + public final static String MPT = ".mpt"; + + /** + * 3DML鏂囦欢 + */ + public final static String _3DML = ".3dml"; + + /** + * TIF鏂囦欢 + */ + public final static String TIF = ".tif"; + + /** + * TIFF鏂囦欢 + */ + public final static String TIFF = ".tiff"; /** * 鐗堟湰鍙� @@ -130,7 +165,7 @@ public final static String DRUID_COOKIE_KEY = "JSESSIONID"; /** - * 涓婁紶鏂囦欢绫诲瀷 + * 涓婁紶鏂囦欢绫诲瀷 * */ public final static String FILE_TYPES = "'xls','shp','gdb','mdb'"; @@ -147,27 +182,27 @@ /** * MPT鏂囦欢鎵╁睍鍚� */ - public final static List<String> MPT_EXTENSION = new ArrayList<>(Arrays.asList(".mpt", ".midx", ".strmi")); + public final static List<String> MPT_EXT = new ArrayList<>(Arrays.asList(".midx", ".strmi")); /** * IMG鏂囦欢鎵╁睍鍚� */ - public final static List<String> IMG_EXTENSION = new ArrayList<>(Arrays.asList(".img", ".rrd", ".img.aux.xml", ".hdr", ".img.enp", ".img.xml")); + public final static List<String> IMG_EXT = new ArrayList<>(Arrays.asList(".rrd", ".img.aux.xml", ".hdr", ".img.enp", ".img.xml")); /** * TIF鏂囦欢鎵╁睍鍚� */ - public final static List<String> TIF_EXTENSION = new ArrayList<>(Arrays.asList(".tif", ".prj", ".tfw", ".tif.ovr", ".tif.aux.xml", ".tif.enp", ".tif.xml")); + public final static List<String> TIF_EXT = new ArrayList<>(Arrays.asList(".prj", ".tfw", ".tif.ovr", ".tif.aux.xml", ".tif.enp", ".tif.xml")); /** * TIFF鏂囦欢鎵╁睍鍚� */ - public final static List<String> TIFF_EXTENSION = new ArrayList<>(Arrays.asList(".tiff", ".prj", ".tfw", ".tiff.ovr", ".tiff.aux.xml", ".tiff.enp", ".tiff.xml")); + public final static List<String> TIFF_EXT = new ArrayList<>(Arrays.asList(".prj", ".tfw", ".tiff.ovr", ".tiff.aux.xml", ".tiff.enp", ".tiff.xml")); /** * SHP鏂囦欢鎵╁睍鍚� */ - public final static List<String> SHP_EXTENSION = new ArrayList<>(Arrays.asList(".shp", ".shx", ".dbf", ".prj", ".cpg")); + public final static List<String> SHP_EXT = new ArrayList<>(Arrays.asList(".shx", ".dbf", ".prj", ".cpg")); /** * 鎵�鏈夋枃浠舵墿灞曞悕 -- Gitblit v1.9.3