src/main/java/com/lf/server/config/PropertiesConfig.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/main/resources/application.yml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/main/java/com/lf/server/config/PropertiesConfig.java
@@ -8,6 +8,7 @@ * @author WWW */ @Configuration @SuppressWarnings("AlibabaCommentsMustBeJavadocFormat") public class PropertiesConfig { @Value("${sys.path.download}") private String downloadPath; @@ -21,10 +22,10 @@ @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() { src/main/resources/application.yml
@@ -88,8 +88,8 @@ # 是否允许清空统计数据,重新计算 true:允许 false:不允许 reset-enable: false # 配置监控页面访问账号密码 login-username: admin login-password: ad_!Druid!_min #login-username: admin #login-password: ad_!Druid!_min # 允许访问的地址,如果allow没有配置或者为空,则允许所有访问 allow: # 拒绝访问的地址,deny优先于allow,如果在deny列表中,就算在allow列表中,也会被拒绝