@RefreshScope 的作用

让在application.properties里自定义的变量也能通过@Value 注解正常注入

posted @ 2018-11-29 21:10  冬马党  阅读(11040)  评论(0编辑  收藏  举报