Nacos Config动态刷新值

1.通过@Value 和@RefreshScope实现动态刷新
2.将动态刷新的值放到自定义配置文件中,通过@ConfigurationProperties(prefix="user")和@EnableConfigurationProperties({UserProperties.class})实现动态刷新
博客链接:https://www.cnblogs.com/gqymy/
原文地址:https://www.cnblogs.com/gqymy/p/14597449.html