From 12c9e1e0ef6bfd748c2758f0da23a1b19a3aa6f8 Mon Sep 17 00:00:00 2001 From: Wizzercn Date: Wed, 9 May 2018 15:21:08 +0800 Subject: [PATCH] =?UTF-8?q?update:=20=E6=9B=B4=E6=94=B9dubbo=E9=9A=8F?= =?UTF-8?q?=E6=9C=BA=E7=AB=AF=E5=8F=A3=E8=AE=BE=E7=BD=AE=E6=96=B9=E5=BC=8F?= =?UTF-8?q?=E9=98=B2=E6=AD=A2=E7=AB=AF=E5=8F=A3=E5=86=B2=E7=AA=81,dubbo.pr?= =?UTF-8?q?otocol.port=3D0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/application-prod.properties | 3 ++- .../src/main/resources/application.properties | 3 ++- .../src/main/resources/application-prod.properties | 5 +++-- .../src/main/resources/application.properties | 5 +++-- .../src/main/resources/application-prod.properties | 3 ++- wk-app/wk-nb-task/src/main/resources/application.properties | 3 ++- .../src/main/resources/application-prod.properties | 3 ++- .../wk-nb-web-api/src/main/resources/application.properties | 3 ++- .../src/main/resources/application-prod.properties | 3 ++- .../src/main/resources/application.properties | 3 ++- 10 files changed, 22 insertions(+), 12 deletions(-) diff --git a/wk-app/wk-nb-service-cms/src/main/resources/application-prod.properties b/wk-app/wk-nb-service-cms/src/main/resources/application-prod.properties index c7bfae231..1071a31fc 100644 --- a/wk-app/wk-nb-service-cms/src/main/resources/application-prod.properties +++ b/wk-app/wk-nb-service-cms/src/main/resources/application-prod.properties @@ -31,5 +31,6 @@ wkcache.cms_article=4800 #dubbo.application.name 若名称不写则取 nutz.application.name dubbo.registry.address=zookeeper://127.0.0.1:2181 dubbo.protocol.name=dubbo -#dubbo.protocol.port 若端口不指定则为随机端口 +#随机端口 +dubbo.protocol.port=0 dubbo.annotation.package=cn.wizzer.app \ No newline at end of file diff --git a/wk-app/wk-nb-service-cms/src/main/resources/application.properties b/wk-app/wk-nb-service-cms/src/main/resources/application.properties index c7bfae231..1071a31fc 100644 --- a/wk-app/wk-nb-service-cms/src/main/resources/application.properties +++ b/wk-app/wk-nb-service-cms/src/main/resources/application.properties @@ -31,5 +31,6 @@ wkcache.cms_article=4800 #dubbo.application.name 若名称不写则取 nutz.application.name dubbo.registry.address=zookeeper://127.0.0.1:2181 dubbo.protocol.name=dubbo -#dubbo.protocol.port 若端口不指定则为随机端口 +#随机端口 +dubbo.protocol.port=0 dubbo.annotation.package=cn.wizzer.app \ No newline at end of file diff --git a/wk-app/wk-nb-service-sys/src/main/resources/application-prod.properties b/wk-app/wk-nb-service-sys/src/main/resources/application-prod.properties index 040692600..6c0bdbc07 100644 --- a/wk-app/wk-nb-service-sys/src/main/resources/application-prod.properties +++ b/wk-app/wk-nb-service-sys/src/main/resources/application-prod.properties @@ -13,8 +13,9 @@ jdbc.defaultAutoCommit=true nutz.dao.interceptor.cache.enable=true nutz.dao.interceptor.cache.table.names=sys_user,sys_menu,sys_role -#dubbo.application.name ƲдԶȡ nutz.application.name +#dubbo.application.name 若名称不写则取 nutz.application.name dubbo.registry.address=zookeeper://127.0.0.1:2181 dubbo.protocol.name=dubbo -#dubbo.protocol.port ˿ڲָΪ˿ +#随机端口 +dubbo.protocol.port=0 dubbo.annotation.package=cn.wizzer.app \ No newline at end of file diff --git a/wk-app/wk-nb-service-sys/src/main/resources/application.properties b/wk-app/wk-nb-service-sys/src/main/resources/application.properties index 188f9243d..ad4593799 100644 --- a/wk-app/wk-nb-service-sys/src/main/resources/application.properties +++ b/wk-app/wk-nb-service-sys/src/main/resources/application.properties @@ -13,8 +13,9 @@ jdbc.defaultAutoCommit=true nutz.dao.interceptor.cache.enable=true nutz.dao.interceptor.cache.table.names=sys_user,sys_menu,sys_role -#dubbo.application.name Ʋдȡ nutz.application.name +#dubbo.application.name 若名称不写则取 nutz.application.name dubbo.registry.address=zookeeper://127.0.0.1:2181 dubbo.protocol.name=dubbo -#dubbo.protocol.port ˿ڲָΪ˿ +#随机端口 +dubbo.protocol.port=0 dubbo.scan.basePackages=cn.wizzer.app \ No newline at end of file diff --git a/wk-app/wk-nb-task/src/main/resources/application-prod.properties b/wk-app/wk-nb-task/src/main/resources/application-prod.properties index 82a00631f..418ec5b56 100644 --- a/wk-app/wk-nb-task/src/main/resources/application-prod.properties +++ b/wk-app/wk-nb-task/src/main/resources/application-prod.properties @@ -16,7 +16,8 @@ jdbc.defaultAutoCommit=true #dubbo.application.name 若名称不写则取 nutz.application.name dubbo.registry.address=zookeeper://127.0.0.1:2181 dubbo.protocol.name=dubbo -#dubbo.protocol.port 若端口不指定则为随机端口 +#随机端口 +dubbo.protocol.port=0 dubbo.annotation.package=cn.wizzer.app #============================================================== diff --git a/wk-app/wk-nb-task/src/main/resources/application.properties b/wk-app/wk-nb-task/src/main/resources/application.properties index 95e1579d6..30a783354 100644 --- a/wk-app/wk-nb-task/src/main/resources/application.properties +++ b/wk-app/wk-nb-task/src/main/resources/application.properties @@ -14,7 +14,8 @@ jdbc.defaultAutoCommit=true #dubbo.application.name 若名称不写则取 nutz.application.name dubbo.registry.address=zookeeper://127.0.0.1:2181 dubbo.protocol.name=dubbo -#dubbo.protocol.port 若端口不指定则为随机端口 +#随机端口 +dubbo.protocol.port=0 dubbo.annotation.package=cn.wizzer.app #============================================================== diff --git a/wk-app/wk-nb-web-api/src/main/resources/application-prod.properties b/wk-app/wk-nb-web-api/src/main/resources/application-prod.properties index be6690933..90c9d0d0c 100644 --- a/wk-app/wk-nb-web-api/src/main/resources/application-prod.properties +++ b/wk-app/wk-nb-web-api/src/main/resources/application-prod.properties @@ -25,5 +25,6 @@ apitoken.appkey=257221db3f2741e598b6e1262f3ec882 #dubbo.application.name 若名称不写则取 nutz.application.name dubbo.registry.address=zookeeper://127.0.0.1:2181 dubbo.protocol.name=dubbo -#dubbo.protocol.port 若端口不指定则为随机端口 +#随机端口 +dubbo.protocol.port=0 dubbo.annotation.package=cn.wizzer \ No newline at end of file diff --git a/wk-app/wk-nb-web-api/src/main/resources/application.properties b/wk-app/wk-nb-web-api/src/main/resources/application.properties index 829b4d684..f9bd9a271 100644 --- a/wk-app/wk-nb-web-api/src/main/resources/application.properties +++ b/wk-app/wk-nb-web-api/src/main/resources/application.properties @@ -25,5 +25,6 @@ apitoken.appkey=257221db3f2741e598b6e1262f3ec882 #dubbo.application.name 若名称不写则取 nutz.application.name dubbo.registry.address=zookeeper://127.0.0.1:2181 dubbo.protocol.name=dubbo -#dubbo.protocol.port 若端口不指定则为随机端口 +#随机端口 +dubbo.protocol.port=0 dubbo.annotation.package=cn.wizzer \ No newline at end of file diff --git a/wk-app/wk-nb-web-platform/src/main/resources/application-prod.properties b/wk-app/wk-nb-web-platform/src/main/resources/application-prod.properties index d1059e633..f37d3755d 100644 --- a/wk-app/wk-nb-web-platform/src/main/resources/application-prod.properties +++ b/wk-app/wk-nb-web-platform/src/main/resources/application-prod.properties @@ -55,5 +55,6 @@ beetl.FT.strlen=cn.wizzer.app.web.commons.ext.beetl.StrlenFormat #dubbo.application.name 若名称不写则取 nutz.application.name dubbo.registry.address=zookeeper://127.0.0.1:2181 #dubbo.protocol.name=dubbo -#dubbo.protocol.port 若端口不指定则为随机端口 +#随机端口 +dubbo.protocol.port=0 dubbo.annotation.package=cn.wizzer.app \ No newline at end of file diff --git a/wk-app/wk-nb-web-platform/src/main/resources/application.properties b/wk-app/wk-nb-web-platform/src/main/resources/application.properties index c563cabf1..1eaf9dd10 100644 --- a/wk-app/wk-nb-web-platform/src/main/resources/application.properties +++ b/wk-app/wk-nb-web-platform/src/main/resources/application.properties @@ -52,5 +52,6 @@ beetl.FT.strlen=cn.wizzer.app.web.commons.ext.beetl.StrlenFormat #dubbo.application.name 若名称不写则取 nutz.application.name dubbo.registry.address=zookeeper://127.0.0.1:2181 #dubbo.protocol.name=dubbo -#dubbo.protocol.port 若端口不指定则为随机端口 +#随机端口 +dubbo.protocol.port=0 dubbo.annotation.package=cn.wizzer.app \ No newline at end of file