From ed8c7a5effd0d423ce1118b680ecdca6fe732609 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期三, 02 七月 2025 16:43:13 +0800 Subject: [PATCH] Merge branch 'master' of http://192.168.11.205:9000/r/P2022036_Service --- src/main/java/com/lf/server/config/PropertiesConfig.java | 47 ++++++++--------------------------------------- 1 files changed, 8 insertions(+), 39 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..3da5002 100644 --- a/src/main/java/com/lf/server/config/PropertiesConfig.java +++ b/src/main/java/com/lf/server/config/PropertiesConfig.java @@ -10,17 +10,11 @@ @Configuration @SuppressWarnings("AlibabaCommentsMustBeJavadocFormat") public class PropertiesConfig { - @Value("${sys.fme.url}") - private String fmeUrl; - @Value("${sys.path.download}") private String downloadPath; @Value("${sys.path.upload}") private String uploadPath; - - @Value("${sys.path.share}") - private String sharePath; @Value("${sys.path.temp}") private String tempPath; @@ -31,59 +25,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; + } + + public String getLfData() { + return tilePath.replace("2d\\tiles", ""); } } -- Gitblit v1.9.3