From ff99cb26d0c651ccd09828e0ac262f9d942776f5 Mon Sep 17 00:00:00 2001
From: zhongrj <646384940@qq.com>
Date: Thu, 09 May 2024 11:23:15 +0800
Subject: [PATCH] 关闭ftp 同步

---
 src/main/resources/application-dev.yml |   29 ++++++++++++++++++++++++-----
 1 files changed, 24 insertions(+), 5 deletions(-)

diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml
index e7d5b87..7a35c47 100644
--- a/src/main/resources/application-dev.yml
+++ b/src/main/resources/application-dev.yml
@@ -16,12 +16,17 @@
 #    url: jdbc:mysql://localhost:2083/zhbaw?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
 #    username: root
 #    password: ZHba@0112
+#  rabbitmq:
+#    host: 192.168.0.191
+#    port: 5672
+#    username: admin
+#    password: admin
 
   datasource:
     # MySql
-    url: jdbc:mysql://localhost:3306/zhbaw?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
+    url: jdbc:mysql://47.49.36.191:3306/zhbaw?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
     username: root
-    password: 123456
+    password: NCzhba@2022
 
     # PostgreSQL
     #url: jdbc:postgresql://127.0.0.1:5432/bladex_boot
@@ -42,10 +47,14 @@
   localtion: ${UPLOAD_DIR:/home/zhongsong/anbao}
   maxFileSize: 10240KB
   maxRequestSize: 102400KB
+  url: http://47.49.36.190:9000
+  access: minioadmin
+  secret: minioadmin
+  bucket: zhba
 
 #ftp 设置
 ftp:
-  sqlConnect: jdbc:mysql://localhost: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
@@ -55,10 +64,20 @@
   ip: http://47.49.36.190:9000
   jsonUrl: /home/zhongsong/anbao/
   username: root
-  password: ZHba@0112
-#  qfqkBaseApiUrl: http://223.82.109.183:2082/api
+  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://47.49.36.191: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:
   enabled: true

--
Gitblit v1.9.3