加载的优先级:
bootstrap > application
yml > yaml > properties
后加载的,会覆盖之前的相同配置
生效顺序:
application.properties > application.yaml > application.yml > bootstrap.properties > bootstrap.yaml > bootstrap.yml
加载的优先级:
bootstrap > application
yml > yaml > properties
后加载的,会覆盖之前的相同配置
生效顺序:
application.properties > application.yaml > application.yml > bootstrap.properties > bootstrap.yaml > bootstrap.yml