spring Boot 配置文件:Profile

1、多Profile 我們在主配置文件編寫的時候,文件名可以是 application-{profile}.properties/yml 默認使用application.properties的配置;   2 yml文件---代表不同的doucement          激活方式     1、在配置文件中指定 spring.profiles.active=dev     2、命令行:打包好後可以設
相關文章
相關標籤/搜索