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-prod.yml | 27 ++++++++++++++++++++-------
1 files changed, 20 insertions(+), 7 deletions(-)
diff --git a/src/main/resources/application-prod.yml b/src/main/resources/application-prod.yml
index e4a42b1..d884a38 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://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: root
+ password: NCzhba@2022
# PostgreSQL
#url: jdbc:postgresql://127.0.0.1:5432/bladex_boot
@@ -44,7 +44,7 @@
#图片批量上传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
@@ -54,19 +54,29 @@
#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/
+ localPath: /home/zhongsong/anbao/
ip: http://47.49.36.190:9000
- jsonUrl: /home/zhbaw/anbao/
+ 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://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:
@@ -86,3 +96,6 @@
remote-mode: true
upload-domain: http://localhost:8999
remote-path: /usr/share/nginx/html
+
+
+
--
Gitblit v1.9.3