Loading
0

idea中调试spring cloud项目指定profile及环境参数

参数可以通过Enviroment Variables设置,激活的配置可以通过Active Profiles进行设置,如下图所示:

上图为Spring Cloud工程,结合maven实现了多环境的配置

最后编辑于:2020/4/20作者: joycode

我不入地狱,谁入地狱?

评论已关闭