提交 3af66c78 编写于 作者: 武汉红喜's avatar 武汉红喜

yml

上级 adc59aa5
......@@ -24,7 +24,7 @@ public class AppConfig {
@Autowired
private UserConfig userConfig;
@ConditionalOnProperty(value = "api.auth.enable")
@ConditionalOnProperty(value = "api.auth.enabled")
@Profile({"dev", "prod"})
@Configuration
public static class WebMvcConf extends WebMvcConfigurerAdapter {
......
......@@ -27,6 +27,9 @@ security:
api:
auth:
enabled: true
user:
welcome: Hello, World!
noFilterUrl: /,/login
---
spring:
......@@ -58,9 +61,6 @@ server:
pattern: common
prefix: access_log
suffix: .log
user:
welcome: Hello, World!
noFilterUrl: /,/login
---
spring:
......@@ -92,9 +92,6 @@ server:
pattern: common
prefix: access_log
suffix: .log
user:
welcome: Hello, World!
noFilterUrl: /,/login
---
spring:
......@@ -125,7 +122,4 @@ server:
enabled: true
pattern: common
prefix: access_log
suffix: .log
user:
welcome: Hello, World!
noFilterUrl: /,/login
\ No newline at end of file
suffix: .log
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册