摘要: spring boot热加载注解,支持方法层面,以及类层面。所遇场景修改了nacos配置文件,需要重启线上服务,碍事。 @RefreshScope注意导包import org.springframework.cloud.context.config.annotation.RefreshScope; 阅读全文
posted @ 2020-09-29 14:04 *乐途* 阅读(280) 评论(0) 推荐(0)