From f2878af9a5edf96407e5a6740d8e89fe4f4c27c1 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期五, 06 一月 2023 14:46:31 +0800 Subject: [PATCH] 1 --- src/main/java/com/lf/server/config/PropertiesConfig.java | 35 +++++++++++++++++++++++------------ 1 files changed, 23 insertions(+), 12 deletions(-) diff --git a/src/main/java/com/lf/server/config/PropertiesConfig.java b/src/main/java/com/lf/server/config/PropertiesConfig.java index 3a8b1ac..4770547 100644 --- a/src/main/java/com/lf/server/config/PropertiesConfig.java +++ b/src/main/java/com/lf/server/config/PropertiesConfig.java @@ -10,6 +10,9 @@ @Configuration @SuppressWarnings("AlibabaCommentsMustBeJavadocFormat") public class PropertiesConfig { + @Value("${sys.fme.url}") + private String fmeUrl; + @Value("${sys.path.download}") private String downloadPath; @@ -28,20 +31,12 @@ // @Value("${spring.datasource.druid.stat-view-servlet.login-password}") private String druidPwd; - public String getDruidUser() { - return druidUser; + public String getFmeUrl() { + return fmeUrl; } - public void setDruidUser(String druidUser) { - this.druidUser = druidUser; - } - - public String getDruidPwd() { - return druidPwd; - } - - public void setDruidPwd(String druidPwd) { - this.druidPwd = druidPwd; + public void setFmeUrl(String fmeUrl) { + this.fmeUrl = fmeUrl; } public String getDownloadPath() { @@ -75,4 +70,20 @@ public void setTempPath(String tempPath) { this.tempPath = tempPath; } + + public String getDruidUser() { + return druidUser; + } + + public void setDruidUser(String druidUser) { + this.druidUser = druidUser; + } + + public String getDruidPwd() { + return druidPwd; + } + + public void setDruidPwd(String druidPwd) { + this.druidPwd = druidPwd; + } } -- Gitblit v1.9.3