|
|
@@ -3,21 +3,20 @@ spring:
|
|
|
nacos:
|
|
|
discovery:
|
|
|
# 服务注册地址
|
|
|
- server-addr: 10.10.10.224:8848
|
|
|
+ server-addr: @nacos.server@
|
|
|
# 命名空间
|
|
|
- namespace: sckw-service-platform
|
|
|
+ namespace: @nacos.namespace@
|
|
|
# 共享配置
|
|
|
group: sckw-service-platform
|
|
|
config:
|
|
|
# 配置中心地址
|
|
|
- server-addr: 10.10.10.224:8848
|
|
|
- # 配置文件格式
|
|
|
- file-extension: yaml
|
|
|
+ server-addr: @nacos.server@
|
|
|
# 命名空间
|
|
|
- namespace: sckw-service-platform
|
|
|
+ namespace: @nacos.namespace@
|
|
|
# 共享配置
|
|
|
group: sckw-service-platform
|
|
|
- #可以读多个配置文件 需要在同一个命名空间下面可以是不同的组
|
|
|
+ # 配置文件格式
|
|
|
+ file-extension: yaml
|
|
|
extension-configs:
|
|
|
- dataId: sckw-common.yml
|
|
|
group: sckw-service-platform
|