@RefreshScope 的作用

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

转载于:https://www.cnblogs.com/dongma/p/10040887.html