nacos作为配置中心动态刷新@RefreshScope添加后取值为null的一个问题
之前springboot项目常量类如下形式: 然后在配置文件properties中写test1=123 controller中应用 @Autowired private Co ...
之前springboot项目常量类如下形式: 然后在配置文件properties中写test1=123 controller中应用 @Autowired private Co ...