From 05b7f36c1fdb1dae4fd2131f63e10f72f85ee42c Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期一, 03 四月 2023 16:49:14 +0800 Subject: [PATCH] 1 --- src/main/java/com/lf/server/config/PropertiesConfig.java | 65 +++++++++----------------------- 1 files changed, 19 insertions(+), 46 deletions(-) diff --git a/src/main/java/com/lf/server/config/PropertiesConfig.java b/src/main/java/com/lf/server/config/PropertiesConfig.java index ad0ae83..4d53702 100644 --- a/src/main/java/com/lf/server/config/PropertiesConfig.java +++ b/src/main/java/com/lf/server/config/PropertiesConfig.java @@ -8,12 +8,10 @@ * @author WWW */ @Configuration +@SuppressWarnings("AlibabaCommentsMustBeJavadocFormat") public class PropertiesConfig { - @Value("${sys.path.import}") - private String importPath; - - @Value("${sys.path.export}") - private String exportPath; + @Value("${sys.path.download}") + private String downloadPath; @Value("${sys.path.upload}") private String uploadPath; @@ -24,65 +22,40 @@ @Value("${sys.path.temp}") private String tempPath; - @Value("${spring.datasource.druid.stat-view-servlet.login-username}") + // @Value("${spring.datasource.druid.stat-view-servlet.login-username}") private String druidUser; - @Value("${spring.datasource.druid.stat-view-servlet.login-password}") + // @Value("${spring.datasource.druid.stat-view-servlet.login-password}") private String druidPwd; - public String getDruidUser() { - return druidUser; - } + @Value("${sys.tile_path}") + private String tilePath; - 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 getDownloadPath() { + return 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 String getDruidPwd() { + return druidPwd; + } + + public String getTilePath() { + return tilePath; } } -- Gitblit v1.9.3