From 0217e80b8630f199c8a54c1fb6a8342cea9bb75f Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期二, 28 二月 2023 11:09:12 +0800 Subject: [PATCH] 1 --- src/main/java/com/lf/server/entity/all/StaticData.java | 94 +++++++++++++++++++++++++++++++++++++++++------ 1 files changed, 82 insertions(+), 12 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..f2629c0 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,12 @@ /** * 鏉冮檺鎺掗櫎璺緞锛�/proxy锛岃姹傚叏閮ㄥ皬鍐� */ - public static String[] EXCLUDE_PATH = new String[]{"/swagger", "/sign/", "/fmeit/", "/floatserver/", "/error"}; + public static String[] EXCLUDE_PATH = new String[]{"/sign/", "/perms/", "/fmeit/", "/crds/", "/floatserver/", "/wmts/select", "/swagger", "/error"}; + + /** + * 鏁板�硷細2 + */ + public final static int TWO = 2; /** * 鏁板�硷細4 @@ -35,6 +40,11 @@ public final static int SIXTEEN = 16; /** + * 鏁板�硷細100 + */ + public final static int ONE_HUNDRED = 100; + + /** * 鏁板�硷細200 */ public final static int TWO_HUNDRED = 200; @@ -48,6 +58,11 @@ * 鏁板�硷細1050.0 */ public static final double D1050 = 1050.0; + + /** + * 瀛楃1 + */ + public final static String S1 = "1"; /** * 绛夊彿 @@ -65,6 +80,11 @@ public final static String COMMA = ","; /** + * 姝f枩鏉� + */ + public final static String SLASH = "/"; + + /** * zip鏂囦欢 */ public final static String ZIP = ".zip"; @@ -75,9 +95,9 @@ public final static String XLS = ".xls"; /** - * SHP鏂囦欢 + * xlsx鏂囦欢 */ - public final static String SHP = ".shp"; + public final static String XLSX = ".xlsx"; /** * MDB鏂囦欢 @@ -85,14 +105,44 @@ 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 D3DML = ".3dml"; + + /** + * TIF鏂囦欢 + */ + public final static String TIF = ".tif"; + + /** + * TIFF鏂囦欢 + */ + public final static String TIFF = ".tiff"; + + /** + * admin + */ + public final static String ADMIN = "admin"; /** * 鐗堟湰鍙� @@ -130,9 +180,24 @@ public final static String DRUID_COOKIE_KEY = "JSESSIONID"; /** - * 涓婁紶鏂囦欢绫诲瀷 + * YES */ - public final static String FILE_TYPES = "'xls','shp','gdb','mdb'"; + public final static String YES = "YES"; + + /** + * NO + */ + public final static String NO = "NO"; + + /** + * 绾胯矾 + */ + public final static String ROUTE = "绾胯矾"; + + /** + * 绌胯法瓒� + */ + public final static String CROSSING = "绌胯法瓒�"; /** * 16杩涘埗 @@ -147,27 +212,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")); /** * 鎵�鏈夋枃浠舵墿灞曞悕 @@ -195,6 +260,11 @@ public final static List<String> MDB_EXCLUDE_FIELDS = new ArrayList<>(Arrays.asList("Shape", "SHAPE_LENG", "Shape_Length", "Shape_Area", "OBJECTID_1")); /** + * 鏍囩粯Shp鎺掗櫎瀛楁 + */ + public final static List<String> MARK_EXCLUDE_FIELDS = new ArrayList<>(Arrays.asList("wkt", "geom", "objectid", "shape_leng", "shape_area", "serialVersionUID", "dirName", "depName", "verName", "createName", "updateName")); + + /** * GDB鎺掗櫎瀛楁 */ public final static List<String> GDB_EXCLUDE_FIELDS = new ArrayList<>(Arrays.asList("geom", "objectid", "shape_leng", "shape_area", "serialVersionUID", "dirName", "depName", "verName", "createName", "updateName")); -- Gitblit v1.9.3