From e26af85e049516e6ce2b082bc2bc90bf71643e95 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期五, 24 三月 2023 09:06:30 +0800 Subject: [PATCH] 1 --- src/main/java/com/lf/server/config/PropertiesConfig.java | 36 ++++-------------------------------- 1 files changed, 4 insertions(+), 32 deletions(-) diff --git a/src/main/java/com/lf/server/config/PropertiesConfig.java b/src/main/java/com/lf/server/config/PropertiesConfig.java index 4770547..4d53702 100644 --- a/src/main/java/com/lf/server/config/PropertiesConfig.java +++ b/src/main/java/com/lf/server/config/PropertiesConfig.java @@ -10,9 +10,6 @@ @Configuration @SuppressWarnings("AlibabaCommentsMustBeJavadocFormat") public class PropertiesConfig { - @Value("${sys.fme.url}") - private String fmeUrl; - @Value("${sys.path.download}") private String downloadPath; @@ -31,59 +28,34 @@ // @Value("${spring.datasource.druid.stat-view-servlet.login-password}") private String druidPwd; - public String getFmeUrl() { - return fmeUrl; - } - - public void setFmeUrl(String fmeUrl) { - this.fmeUrl = fmeUrl; - } + @Value("${sys.tile_path}") + private String tilePath; public String getDownloadPath() { return downloadPath; - } - - public void setDownloadPath(String downloadPath) { - this.downloadPath = downloadPath; } 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; - } - 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; + public String getTilePath() { + return tilePath; } } -- Gitblit v1.9.3