直接启动项目:

programargument参数设置: --spring.profiles.active=XXX

 debug模式:

VM options参数设置: -Dspring.profiles.active=XXX

 

相关文章: