- 引用依赖 <!-- nocos 配置管理 --><dependency><groupId>com.alibaba.cloud</groupId><artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId></dependency>
- 创建resources -> bootstrap.propreties spring.application.name=soft.namespring.cloud.nacos.config.server-addr=127.0.0.1:8848
-  启动 Nacos 
-  配置中心添加一个数据集DataID 为 应用名.properties 。日志中的DataID : nacos configuration and get it based on dataId[gulimall-coupon.properties] & group[DEFAULT_GROUP] 
-  在**.properties 可添加任何配置数据 
-  配置动态获取 
-  在controller中添加@RefreshScope 动态获取 刷新配置 
-  @Value("${名}") 普通获取配置名 
-  优先级 配置中心 >当前应用配置文件