From 9bce48a9f30f7d80c43f43f46d40df20fcb00e15 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期五, 03 二月 2023 09:39:59 +0800 Subject: [PATCH] 1 --- src/main/java/com/lf/server/config/PropertiesConfig.java | 48 +++++++++++++++++++----------------------------- 1 files changed, 19 insertions(+), 29 deletions(-) diff --git a/src/main/java/com/lf/server/config/PropertiesConfig.java b/src/main/java/com/lf/server/config/PropertiesConfig.java index 9c20888..6767572 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.download}") private String downloadPath; - - @Value("${sys.path.export}") - private String exportPath; @Value("${sys.path.upload}") private String uploadPath; @@ -24,27 +22,11 @@ @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; - } - - public void setDruidUser(String druidUser) { - this.druidUser = druidUser; - } - - public String getDruidPwd() { - return druidPwd; - } - - public void setDruidPwd(String druidPwd) { - this.druidPwd = druidPwd; - } public String getDownloadPath() { return downloadPath; @@ -52,14 +34,6 @@ public void setDownloadPath(String downloadPath) { this.downloadPath = downloadPath; - } - - public String getExportPath() { - return exportPath; - } - - public void setExportPath(String exportPath) { - this.exportPath = exportPath; } public String getUploadPath() { @@ -85,4 +59,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