摘要: 如何在类中应用配置文件 优先级: 当前目录子目录的/config > 当前目录 > classpath的/config包 > classpath的根目录 即:越靠近的优先级越高 **指定配置文件 @PropertySource 和 SpringApplication.setDefaultProper 阅读全文
posted @ 2018-04-03 17:28 甜菜波波 阅读(202) 评论(0) 推荐(0) 编辑