格式:( k:[空格] v ) 绑定到Bean 1.加上 @ConfigurationProperties(prefix = “person”) 2.加上**@Component**,将Bean加入容器。 相关文章: 2022-12-23 2022-03-04 2022-12-23 2021-10-10 2021-08-19 2022-12-23 2022-12-23 2021-12-25