From 6a88008a518bcbf918afd2d1bbe7f5a280711198 Mon Sep 17 00:00:00 2001 From: zhanyunjiu <787952492@qq.com> Date: Thu, 4 Aug 2022 11:20:08 +0800 Subject: [PATCH] dubbo --- .../src/main/resources/application-prod.yaml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/yudao-server/src/main/resources/application-prod.yaml b/yudao-server/src/main/resources/application-prod.yaml index e64d949c..1b66e749 100644 --- a/yudao-server/src/main/resources/application-prod.yaml +++ b/yudao-server/src/main/resources/application-prod.yaml @@ -228,4 +228,19 @@ justauth: cache: type: REDIS prefix: 'social_auth_state:' # 缓存前缀,目前只对 Redis 缓存生效,默认 JUSTAUTH::STATE:: - timeout: 24h # 超时时长,目前只对 Redis 缓存生效,默认 3 分钟 \ No newline at end of file + timeout: 24h # 超时时长,目前只对 Redis 缓存生效,默认 3 分钟 + + +dubbo: + registry: + id: zsw-farm + address: 127.0.0.1:8848 + protocol: nacos + username: nacos + password: nacos + register: false + namespce: 5ef0de35-92fd-4577-ab23-54e5e5cb2a54 + consumer: + check: false + application: + name: zsw-farm \ No newline at end of file