摘要: 配置文件覆盖顺序:(加载顺序从1->9,但在之前会确定用哪个activeProfiles,覆盖顺序1-9) (1)默认配置:defaultProfiles(默认配置,springboot源代码提供的) (2)属性配置:propertySources(写在代码中注解上的) (3)Servlet初始化参 阅读全文
posted @ 2018-01-23 10:05 chendeming 阅读(734) 评论(0) 推荐(0) 编辑