From 7069c80e28f86bca44bcd060b865f8e719ad634e Mon Sep 17 00:00:00 2001
From: zhongrj <646384940@qq.com>
Date: Tue, 21 Feb 2023 14:41:04 +0800
Subject: [PATCH] 数据同步配置修改

---
 src/main/resources/application-prod.yml |   35 ++++++++++++++++++++++++-----------
 1 files changed, 24 insertions(+), 11 deletions(-)

diff --git a/src/main/resources/application-prod.yml b/src/main/resources/application-prod.yml
index e4a42b1..854f00c 100644
--- a/src/main/resources/application-prod.yml
+++ b/src/main/resources/application-prod.yml
@@ -24,9 +24,9 @@
 
   datasource:
     # MySql
-    url: jdbc:mysql://192.168.0.191:3306/zhbaw?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
+    url: jdbc:mysql://106.225.193.35:3306/zhbaw?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
     username: root
-    password: root
+    password: HCyj@2022
 
     # PostgreSQL
     #url: jdbc:postgresql://127.0.0.1:5432/bladex_boot
@@ -44,29 +44,39 @@
 
 #图片批量上传zip
 upload:
-  localtion: ${UPLOAD_DIR:/home/zhbaw/anbao}
+  localtion: ${UPLOAD_DIR:/home/zhongsong/anbao}
   maxFileSize: 10240KB
   maxRequestSize: 102400KB
-  url: http://47.49.36.190:9000
-  access: minioadmin
-  secret: minioadmin
+  url: http://106.225.193.35:2081
+  access: zhbaadmin
+  secret: zhbapassword
   bucket: zhba
 
 #ftp 设置
 ftp:
-  sqlConnect: jdbc:mysql://61.131.136.25:2083/zhbaw?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
+  sqlConnect: jdbc:mysql://47.49.36.191:3306/zhba?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
   ftpHost: 117.40.91.118
   ftpPort: 21
   ftpUserName: zhbain
   ftpPassword: zhbain@123
   ftpPath: yly/anbao/
-  localPath: /home/zhbaw/anbao/
-  ip: http://47.49.36.190:9000
-  jsonUrl: /home/zhbaw/anbao/
+  localPath: /home/zhongsong/anbao/
+  ip: http://106.225.193.35:2081
+  jsonUrl: /home/zhongsong/anbao/
   username: root
-  password: ZHba@0112
+  password: NCzhba@2022
   #  qfqkBaseApiUrl: http://61.131.136.25:2082/api
   qfqkBaseApiUrl: http://localhost:83
+
+# 数据同步配置
+data:
+  sync:
+    enable: stop
+    type: sql
+    driver: com.mysql.cj.jdbc.Driver
+    url: jdbc:mysql://106.225.193.35:3306/zhba?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
+    username: root
+    password: NCzhba@2022
 
 #第三方登陆
 social:
@@ -86,3 +96,6 @@
     remote-mode: true
     upload-domain: http://localhost:8999
     remote-path: /usr/share/nginx/html
+
+
+

--
Gitblit v1.9.3