springboot配置文件优先级

配置文件如果都包含相同信息则config下的配置会生效,.properties格式的优先于.yml,如图

原文地址:https://www.cnblogs.com/wscw/p/15686911.html