@EnableConfigurationProperties
enable support for @ConfigurationProperties
annotated beans. @ConfigurationProperties
beans can be registered in the standard way (for example using @Bean
methods) or, for convenience, can be specified directly on this annotation.
Configuration
1 |
|
配置类
1 |
|