2024年1月19日

nacos 动态刷新 数组对象 List/数组类型、复杂类对象配置

摘要: @Value 环境依赖版本 SpringCloud 是个大前提,不然还是考虑上面方式或者原生接入方案; @NacosPropertySource(dataId = "mydata", autoRefreshed = true) 同时 @RefreshScope 方能接收到nacos的push数据。 阅读全文

posted @ 2024-01-19 12:08 天军 阅读(1184) 评论(0) 推荐(0) 编辑

导航