四、Springboot配置-Profile

1、多Profile文件

  在主配置文件编写的时候,文件名可以是 application-{profile}.properties/yml

  默认使用application.properties的配置

2、yml支持多文档块方式

3、激活指定profile

posted @ 2020-01-03 10:51  why768  阅读(110)  评论(0)    收藏  举报