Spring Cloud配置多环境

214 阅读1分钟

添加自定义配置文件

bootstrap-test.yml

添加启动参数

--spring.cloud.bootstrap.name=bootstrap-test