From 39f98b9d914cad9fb7baf9e656c08d6eea424fd2 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期二, 28 二月 2023 19:06:01 +0800 Subject: [PATCH] 1 --- src/main/java/com/lf/server/entity/all/StaticData.java | 38 +++++++++++++++++++++++++++++--------- 1 files changed, 29 insertions(+), 9 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 f57ba9b..812c5c5 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/", "/perms/", "/floatserver/", "/error", "/wmts/select"}; + public static String[] EXCLUDE_PATH = new String[]{"/sign/", "/perms/", "/fmeit/", "/crds/", "/floatserver/", "/wmts/select", "/swagger", "/error"}; /** * 鏁板�硷細2 @@ -58,6 +58,16 @@ * 鏁板�硷細1050.0 */ public static final double D1050 = 1050.0; + + public static final int I12 = 12; + + public static final int I24 = 24; + + public static final int I31 = 31; + + public static final int I60 = 60; + + public static final int I2050 = 2050; /** * 瀛楃1 @@ -140,14 +150,9 @@ public final static String TIFF = ".tiff"; /** - * WMTS + * admin */ - public final static String WMTS = "WMTS"; - - /** - * GetCapabilities - */ - public final static String CAPABILITY = "GetCapabilities"; + public final static String ADMIN = "admin"; /** * 鐗堟湰鍙� @@ -183,6 +188,16 @@ * Cookie涓璬ruid閿� */ public final static String DRUID_COOKIE_KEY = "JSESSIONID"; + + /** + * YES + */ + public final static String YES = "YES"; + + /** + * NO + */ + public final static String NO = "NO"; /** * 绾胯矾 @@ -230,6 +245,11 @@ public final static List<String> SHP_EXT = new ArrayList<>(Arrays.asList(".shx", ".dbf", ".prj", ".cpg")); /** + * Mapper鎺掗櫎鎵╁睍鍚� + */ + public final static List<String> MAPPER_EXCLUDE_EXT = new ArrayList<>(Arrays.asList(".img.aux.xml", ".img.xml", ".tif.aux.xml", ".tif.xml", ".tiff.aux.xml", ".tiff.xml", ".shp.xml")); + + /** * 鎵�鏈夋枃浠舵墿灞曞悕 */ 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")); @@ -247,7 +267,7 @@ /** * 璇诲彇鎺掗櫎瀛楁 */ - public final static List<String> READ_EXCLUDE_FIELDS = new ArrayList<>(Arrays.asList("gid", "objectid", "dirid", "depid", "verid", "createtime", "createuser", "updateuser", "updatetime", "shape_leng", "shape_area", "serialVersionUID", "dirName", "depName", "verName", "createName", "updateName")); + public final static List<String> READ_EXCLUDE_FIELDS = new ArrayList<>(Arrays.asList("gid", "eventid", "parentid", "objectid", "dirid", "depid", "verid", "createtime", "createuser", "updateuser", "updatetime", "shape_leng", "shape_area", "serialversionuid", "dirname", "depname", "vername", "createname", "updatename")); /** * MDB鎺掗櫎瀛楁 -- Gitblit v1.9.3