From e7b3a5e891287b1291d2ac38f7c83d5d73bc7906 Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期六, 08 十月 2022 08:49:01 +0800
Subject: [PATCH] 1

---
 src/main/java/com/lf/server/config/PropertiesConfig.java |   82 +++++++++++++++++++++++++++++++++++++----
 1 files changed, 74 insertions(+), 8 deletions(-)

diff --git a/src/main/java/com/lf/server/config/PropertiesConfig.java b/src/main/java/com/lf/server/config/PropertiesConfig.java
index 678cdf7..ad0ae83 100644
--- a/src/main/java/com/lf/server/config/PropertiesConfig.java
+++ b/src/main/java/com/lf/server/config/PropertiesConfig.java
@@ -1,22 +1,88 @@
 package com.lf.server.config;
 
 import org.springframework.beans.factory.annotation.Value;
-import org.springframework.stereotype.Component;
+import org.springframework.context.annotation.Configuration;
 
 /**
  * 灞炴�ч厤缃被
  * @author WWW
  */
-@Component
+@Configuration
 public class PropertiesConfig {
-    @Value("${sys.path}")
-    private String path;
+    @Value("${sys.path.import}")
+    private String importPath;
 
-    public String getPath() {
-        return path;
+    @Value("${sys.path.export}")
+    private String exportPath;
+
+    @Value("${sys.path.upload}")
+    private String uploadPath;
+
+    @Value("${sys.path.share}")
+    private String sharePath;
+
+    @Value("${sys.path.temp}")
+    private String tempPath;
+
+    @Value("${spring.datasource.druid.stat-view-servlet.login-username}")
+    private String druidUser;
+
+    @Value("${spring.datasource.druid.stat-view-servlet.login-password}")
+    private String druidPwd;
+
+    public String getDruidUser() {
+        return druidUser;
     }
 
-    public void setPath(String path) {
-        this.path = path;
+    public void setDruidUser(String druidUser) {
+        this.druidUser = druidUser;
+    }
+
+    public String getDruidPwd() {
+        return druidPwd;
+    }
+
+    public void setDruidPwd(String druidPwd) {
+        this.druidPwd = druidPwd;
+    }
+
+    public String getImportPath() {
+        return importPath;
+    }
+
+    public void setImportPath(String importPath) {
+        this.importPath = importPath;
+    }
+
+    public String getExportPath() {
+        return exportPath;
+    }
+
+    public void setExportPath(String exportPath) {
+        this.exportPath = exportPath;
+    }
+
+    public String getUploadPath() {
+        return uploadPath;
+    }
+
+    public void setUploadPath(String uploadPath) {
+        this.uploadPath = uploadPath;
+    }
+
+    public String getSharePath() {
+        return sharePath;
+    }
+
+    public void setSharePath(String sharePath) {
+        this.sharePath = sharePath;
+    }
+
+    public String getTempPath() {
+        return tempPath;
+    }
+
+    public void setTempPath(String tempPath) {
+        this.tempPath = tempPath;
     }
 }

--
Gitblit v1.9.3