springcloud 配置文件加载优先级

bootstrap.properties:位于jar包外的优先级最高

application.properties:配置中心的文件 命令行配置 > 本地active指定文件 本地default文件,

高优先级的会覆盖低优先级的 重复的 配置内容。

猜你喜欢

转载自blog.csdn.net/join_null/article/details/82344323