方式一:

  -Dspring.profiles.avtive=test

方式二:

  --spring.profiles.avtive=test

方式三:

  Active  Profiles 

【Idea】设置springboot启动环境

 

相关文章: