springboot
application.properties中的spring.profiles.active:可以切换配置文件@value有两个包都有![在这里插入图片描述](https://img-blog.csdnimg.cn/20210325091700775.png)@PropertySource(value = "classpath:")指定配置文件@ConfigurationProperties(prefix = "developer")配置文件中前缀为developer的注入配置文件默认先.
复制链接