From dde162ffb34f2cc0ece4ca9cfcd09e2cb42ace6d Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Fri, 17 May 2024 18:13:11 +0800
Subject: [PATCH] 租户导入导出
---
src/main/resources/application-test.yml | 45 ++++++++++++++++++++++++++++++++++++++++++---
1 files changed, 42 insertions(+), 3 deletions(-)
diff --git a/src/main/resources/application-test.yml b/src/main/resources/application-test.yml
index e3fe180..9623573 100644
--- a/src/main/resources/application-test.yml
+++ b/src/main/resources/application-test.yml
@@ -7,16 +7,16 @@
host: 127.0.0.1
port: 6379
password:
- database: 0
+ database: 10
ssl: false
##redis 集群环境配置
#cluster:
# nodes: 127.0.0.1:7001,127.0.0.1:7002,127.0.0.1:7003
# commandTimeout: 5000
datasource:
- url: jdbc:mysql://127.0.0.1:3308/jczz?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
+ url: jdbc:mysql://172.16.50.240:3306/jczz_test?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
username: root
- password: root
+ password: 1qaz@WSX3edc
#第三方登陆
social:
@@ -38,3 +38,42 @@
remote-mode: true
upload-domain: http://localhost:8999
remote-path: /usr/share/nginx/html
+
+# xxl-job
+xxl:
+ job:
+ accessToken: ''
+ admin:
+ addresses: http://192.168.1.50:7009/xxl-job-admin
+ executor:
+ appname: blade-xxljob
+ ip: 127.0.0.1
+ logpath: ../data/applogs/xxl-job/jobhandler
+ logretentiondays: -1
+ port: 7018
+ address:
+ enabled: false
+
+# binlog listener
+binlog:
+ # 源数据库
+ datasource:
+ host: 172.16.50.240
+ port: 3306
+ username: root
+ password: 1qaz@WSX3edc
+ db: jczz_test
+ table: jczz_house,jczz_household,jczz_place,jczz_place_ext,blade_attach_data
+ enabled: false
+ # 目标数据库
+ from:
+ datasource:
+ url: jdbc:mysql://106.225.193.35:3306/srjw?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
+ username: root
+ password: HCyj@2022
+#es
+elasticsearch:
+ enabled: false
+ host: 127.0.0.1
+ sync: false
+ indexName: test
--
Gitblit v1.9.3