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 | 71 +++++++++++++++++++++++++++++++---- 1 files changed, 63 insertions(+), 8 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 953432f..4625c56 100644 --- a/src/main/java/com/lf/server/entity/all/StaticData.java +++ b/src/main/java/com/lf/server/entity/all/StaticData.java @@ -10,9 +10,9 @@ */ public class StaticData { /** - * 鏉冮檺鎺掗櫎璺緞锛�/proxy + * 鏉冮檺鎺掗櫎璺緞锛�/proxy锛岃姹傚叏閮ㄥ皬鍐� */ - public static String[] EXCLUDE_PATH = new String[]{"/swagger", "/sign/", "/error", "/floatserver"}; + 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"; @@ -78,6 +88,46 @@ * xlsx鏂囦欢 */ public final static String XLSX = ".xlsx"; + + /** + * MDB鏂囦欢 + */ + public final static String MDB = ".mdb"; + + /** + * SHP鏂囦欢 + */ + public final static String SHP = ".shp"; + + /** + * GDB鏂囦欢 + */ + public final static String GDB = ".gdb"; + + /** + * IMG鏂囦欢 + */ + 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"; /** * 鐗堟湰鍙� @@ -115,7 +165,7 @@ public final static String DRUID_COOKIE_KEY = "JSESSIONID"; /** - * 涓婁紶鏂囦欢绫诲瀷 + * 涓婁紶鏂囦欢绫诲瀷 * */ public final static String FILE_TYPES = "'xls','shp','gdb','mdb'"; @@ -132,27 +182,32 @@ /** * 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", ".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_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", ".qix", ".sbn", ".sbx")); + public final static List<String> SHP_EXT = new ArrayList<>(Arrays.asList(".shx", ".dbf", ".prj", ".cpg")); /** * 鎵�鏈夋枃浠舵墿灞曞悕 */ - public final static List<String> ALL_EXTENSION = new ArrayList<>(Arrays.asList(".txt", ".xml", ".pdf", ".xls", ".xlsx", ".doc", ".docx", ".ppt", ".pptx", ".shp", ".gdb", ".mdb", ".dwg", ".las", ".laz", ".cpt", ".mpt", ".fly", ".efb", ".g3d", ".fbx", ".obj", ".3dm", ".3dml", ".osgb", ".rvt", ".ifc", ".jpg", ".png", ".img", ".tif", ".bmp", ".gif", ".rmvb", ".rm", ".mp3", ".mp4", ".avi", ".wma", ".wmv", ".7z", ".rar", ".zip")); + public final static List<String> ALL_EXTENSION = new ArrayList<>(Arrays.asList(".txt", ".xml", ".pdf", ".xls", ".xlsx", ".doc", ".docx", ".ppt", ".pptx", ".shp", ".gdb", ".mdb", ".dwg", ".las", ".laz", ".cpt", ".mpt", ".fly", ".efb", ".g3d", ".fbx", ".obj", ".3dm", ".3dml", ".osgb", ".rvt", ".ifc", ".jpg", ".png", ".img", ".tif", ".tiff", ".bmp", ".gif", ".rmvb", ".rm", ".mp3", ".mp4", ".avi", ".wma", ".wmv", ".7z", ".rar", ".zip")); /** * 鎻掑叆鎺掗櫎瀛楁 -- Gitblit v1.9.3