springboot 指定启动环境

java -jar dbmaster.jar --spring.profiles.active=test

原文地址:https://www.cnblogs.com/youxiu326/p/10540765.html