springboot profile配置

Profile是spring用来针对不一样的环境对不一样的配置提供支持的,全局profile配置使用application-{profile}.properties 经过在application.properties中设置spring.profile.active=prod来指定活动的Profileweb
相关文章
相关标签/搜索