From e795f071077f261152bdb95d4c9af608cc1a008b Mon Sep 17 00:00:00 2001 From: tanghc Date: Mon, 22 Apr 2019 10:30:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dzookeeper=E8=BF=9E=E6=8E=A5?= =?UTF-8?q?=E6=8A=A5=E9=94=99=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sop-admin-server/src/main/resources/application-dev.yml | 2 +- .../sop-book-web/src/main/resources/application-dev.yml | 2 +- sop-example/sop-easyopen/src/main/resources/application-dev.yml | 2 +- .../sop-story-web/src/main/resources/application-dev.yml | 2 +- sop-gateway/src/main/resources/application-dev.yml | 2 +- .../website-server/src/main/resources/application-dev.yml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sop-admin/sop-admin-server/src/main/resources/application-dev.yml b/sop-admin/sop-admin-server/src/main/resources/application-dev.yml index 4b09ebbb..f9ff1e38 100644 --- a/sop-admin/sop-admin-server/src/main/resources/application-dev.yml +++ b/sop-admin/sop-admin-server/src/main/resources/application-dev.yml @@ -13,7 +13,7 @@ spring: cloud: zookeeper: - connect-string: 10.1.31.126:2181 + connect-string: localhost:2181 baseSleepTimeMs: 3000 maxRetries: 3 diff --git a/sop-example/sop-book/sop-book-web/src/main/resources/application-dev.yml b/sop-example/sop-book/sop-book-web/src/main/resources/application-dev.yml index 776e60df..4c2989d5 100644 --- a/sop-example/sop-book/sop-book-web/src/main/resources/application-dev.yml +++ b/sop-example/sop-book/sop-book-web/src/main/resources/application-dev.yml @@ -8,7 +8,7 @@ spring: cloud: zookeeper: # zookeeper配置 - connect-string: 10.1.31.126:2181 + connect-string: localhost:2181 eureka: port: 1111 diff --git a/sop-example/sop-easyopen/src/main/resources/application-dev.yml b/sop-example/sop-easyopen/src/main/resources/application-dev.yml index ce9f2f27..b280f484 100644 --- a/sop-example/sop-easyopen/src/main/resources/application-dev.yml +++ b/sop-example/sop-easyopen/src/main/resources/application-dev.yml @@ -16,7 +16,7 @@ spring: cloud: zookeeper: - connect-string: 10.1.31.126:2181 + connect-string: localhost:2181 # 指定接口路径 easyopen: diff --git a/sop-example/sop-story/sop-story-web/src/main/resources/application-dev.yml b/sop-example/sop-story/sop-story-web/src/main/resources/application-dev.yml index 2053e436..6130f136 100644 --- a/sop-example/sop-story/sop-story-web/src/main/resources/application-dev.yml +++ b/sop-example/sop-story/sop-story-web/src/main/resources/application-dev.yml @@ -8,7 +8,7 @@ spring: cloud: zookeeper: - connect-string: 10.1.31.126:2181 + connect-string: localhost:2181 # 注册中心 eureka: diff --git a/sop-gateway/src/main/resources/application-dev.yml b/sop-gateway/src/main/resources/application-dev.yml index 63890eb7..db470bbe 100644 --- a/sop-gateway/src/main/resources/application-dev.yml +++ b/sop-gateway/src/main/resources/application-dev.yml @@ -18,7 +18,7 @@ spring: cloud: zookeeper: - connect-string: 10.1.31.126:2181 + connect-string: localhost:2181 gateway: # Spring Cloud Gateway配置,如果用了zuul,这段配置没有效果 discovery: diff --git a/sop-website/website-server/src/main/resources/application-dev.yml b/sop-website/website-server/src/main/resources/application-dev.yml index d5d8ed32..b6e0b7e0 100644 --- a/sop-website/website-server/src/main/resources/application-dev.yml +++ b/sop-website/website-server/src/main/resources/application-dev.yml @@ -14,7 +14,7 @@ spring: cloud: zookeeper: - connect-string: 10.1.31.126:2181 + connect-string: localhost:2181 api: # 测试地址