修复nacos配置中心读取不了配置项的问题,调整nacos地址参数的位置为每个工程里面

This commit is contained in:
zlt
2019-01-30 23:01:16 +08:00
parent c732d7136f
commit 96ac04d41e
11 changed files with 36 additions and 6 deletions
@@ -1,6 +1,10 @@
server:
port: 9900
zlt:
nacos:
server-addr: 192.168.28.130:8848
spring:
application:
name: sc-gateway
@@ -6,6 +6,10 @@ server:
buffer-size: 1024
direct-buffers: true
zlt:
nacos:
server-addr: 192.168.28.130:8848
spring:
application:
name: api-gateway