From fa68791d3dea961ac3b37479928ac742f9603516 Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期五, 11 十一月 2022 10:07:48 +0800
Subject: [PATCH] 1

---
 src/main/java/com/lf/server/helper/PathHelper.java       |   16 ----------------
 src/main/java/com/lf/server/config/PropertiesConfig.java |   11 -----------
 src/main/resources/application.yml                       |    2 --
 3 files changed, 0 insertions(+), 29 deletions(-)

diff --git a/src/main/java/com/lf/server/config/PropertiesConfig.java b/src/main/java/com/lf/server/config/PropertiesConfig.java
index 9c20888..1c1c465 100644
--- a/src/main/java/com/lf/server/config/PropertiesConfig.java
+++ b/src/main/java/com/lf/server/config/PropertiesConfig.java
@@ -12,9 +12,6 @@
     @Value("${sys.path.download}")
     private String downloadPath;
 
-    @Value("${sys.path.export}")
-    private String exportPath;
-
     @Value("${sys.path.upload}")
     private String uploadPath;
 
@@ -52,14 +49,6 @@
 
     public void setDownloadPath(String downloadPath) {
         this.downloadPath = downloadPath;
-    }
-
-    public String getExportPath() {
-        return exportPath;
-    }
-
-    public void setExportPath(String exportPath) {
-        this.exportPath = exportPath;
     }
 
     public String getUploadPath() {
diff --git a/src/main/java/com/lf/server/helper/PathHelper.java b/src/main/java/com/lf/server/helper/PathHelper.java
index 88439b5..83c43a8 100644
--- a/src/main/java/com/lf/server/helper/PathHelper.java
+++ b/src/main/java/com/lf/server/helper/PathHelper.java
@@ -21,8 +21,6 @@
 
     private static int downloadPath = 1;
 
-    private static int exportPath = 1;
-
     private static int uploadPath = 1;
 
     private static int sharePath = 1;
@@ -39,10 +37,6 @@
         return downloadPath;
     }
 
-    public static int getExportPath() {
-        return exportPath;
-    }
-
     public static int getUploadPath() {
         return uploadPath;
     }
@@ -56,7 +50,6 @@
      */
     public void init() {
         downloadPath = getSubPath(config.getDownloadPath(), downloadPath);
-        exportPath = getSubPath(config.getExportPath(), exportPath);
         uploadPath = getSubPath(config.getUploadPath(), uploadPath);
         sharePath = getSubPath(config.getSharePath(), sharePath);
     }
@@ -87,15 +80,6 @@
         downloadPath = getSubPath(config.getDownloadPath(), downloadPath);
 
         return config.getDownloadPath() + File.separator + downloadPath;
-    }
-
-    /**
-     * 鑾峰彇鍑哄浘瀹屾暣鐩綍
-     */
-    public String getExportFullPath() {
-        exportPath = getSubPath(config.getExportPath(), exportPath);
-
-        return config.getExportPath() + File.separator + exportPath;
     }
 
     /**
diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index 55aa0dc..564e902 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -142,8 +142,6 @@
   path:
     # 涓嬭浇鐩綍锛堜笅杞芥枃浠讹級
     download: D:\LF\download
-    # 鍑哄浘鐩綍锛堜笓棰樺浘鍑哄浘锛�
-    export: D:\LF\export
     # 涓婁紶鐩綍锛堝ぇ鏁版嵁涓婁紶锛�
     upload: D:\LF\upload
     # 鍏变韩鐩綍锛堟暟鎹彂甯冿級

--
Gitblit v1.9.3