您的位置: 首页 > 文章 > yml和properties属性赋值 yml和properties属性赋值 分类: 文章 • 2024-04-24 13:58:27 properties 属性赋值举例:@PropertySource(value = “classpath:application.properties”) yml属性赋值举例:@ConfigurationProperties(prefix = “person”)