.yml
spring:
profiles: active: test # local #本地 # dev #线上 # test #测试
.properties文件 建三个
application-local.properties
application-test.properties
application-dev.properties
里面配置需要的数据
.yml
spring:
profiles: active: test # local #本地 # dev #线上 # test #测试
.properties文件 建三个
application-local.properties
application-test.properties
application-dev.properties
里面配置需要的数据