摘要: 1 使用 Environment 进行读取env.getProperty("配置文件中的值") 2 使用注解的方式 @PropertySource("classpath:application.properti... 阅读全文
posted @ 2018-08-01 09:27 yinder 阅读(316) 评论(0) 推荐(0) 编辑