From b2e4845b84b23aa3f9cc01141c74a8a27c56c17a Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期一, 13 三月 2023 10:52:39 +0800
Subject: [PATCH] 1

---
 src/main/java/com/lf/server/entity/all/StaticData.java |   62 ++++++------------------------
 1 files changed, 13 insertions(+), 49 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 812c5c5..2ce2e2b 100644
--- a/src/main/java/com/lf/server/entity/all/StaticData.java
+++ b/src/main/java/com/lf/server/entity/all/StaticData.java
@@ -1,5 +1,7 @@
 package com.lf.server.entity.all;
 
+import com.alibaba.fastjson.JSON;
+
 import java.util.ArrayList;
 import java.util.Arrays;
 import java.util.List;
@@ -49,14 +51,8 @@
      */
     public final static int TWO_HUNDRED = 200;
 
-    /**
-     * 鏁板�硷細1024.0
-     */
     public static final double D1024 = 1024.0;
 
-    /**
-     * 鏁板�硷細1050.0
-     */
     public static final double D1050 = 1050.0;
 
     public static final int I12 = 12;
@@ -94,64 +90,28 @@
      */
     public final static String SLASH = "/";
 
-    /**
-     * zip鏂囦欢
-     */
     public final static String ZIP = ".zip";
 
-    /**
-     * xls鏂囦欢
-     */
     public final static String XLS = ".xls";
 
-    /**
-     * 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 D3DML = ".3dml";
 
-    /**
-     * TIF鏂囦欢
-     */
     public final static String TIF = ".tif";
 
-    /**
-     * TIFF鏂囦欢
-     */
     public final static String TIFF = ".tiff";
 
-    /**
-     * admin
-     */
     public final static String ADMIN = "admin";
 
     /**
@@ -189,14 +149,8 @@
      */
     public final static String DRUID_COOKIE_KEY = "JSESSIONID";
 
-    /**
-     * YES
-     */
     public final static String YES = "YES";
 
-    /**
-     * NO
-     */
     public final static String NO = "NO";
 
     /**
@@ -208,6 +162,16 @@
      * 绌胯法瓒�
      */
     public final static String CROSSING = "绌胯法瓒�";
+
+    public final static String LINESTRING = "LINESTRING";
+
+    public final static String MULTILINESTRING = "MULTILINESTRING";
+
+    public final static String POLYGON = "POLYGON";
+
+    public final static String MULTIPOLYGON = "MULTIPOLYGON";
+
+    public static final String NO_FILE = JSON.toJSONString(new ResponseMsg<String>(HttpStatus.NOT_FOUND, "鏂囦欢鎵句笉鍒�"));
 
     /**
      * 16杩涘埗
@@ -252,7 +216,7 @@
     /**
      * 鎵�鏈夋枃浠舵墿灞曞悕
      */
-    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"));
+    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", ".dem", ".bmp", ".gif", ".rmvb", ".rm", ".mp3", ".mp4", ".avi", ".wma", ".wmv", ".7z", ".rar", ".zip"));
 
     /**
      * 鎻掑叆鎺掗櫎瀛楁

--
Gitblit v1.9.3