spring-boot 根据环境启动

spring-boot 根据环境启动:

java -jar spring-boot-02-config-0.0.1-SNAPSHOT.jar --spring.profiles.active=prod
原文地址:https://www.cnblogs.com/xiluhua/p/9738695.html