From a5b39478de866b68d0e19ac8aeebb4d0cccb18a2 Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Tue, 29 Mar 2022 08:47:57 +0800
Subject: [PATCH] 新增 ureport spring bean连接方式获取数据
---
src/main/resources/application-dev.yml | 31 ++++++++++++++++++++++++-------
1 files changed, 24 insertions(+), 7 deletions(-)
diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml
index 7df2e73..8052fb6 100644
--- a/src/main/resources/application-dev.yml
+++ b/src/main/resources/application-dev.yml
@@ -11,15 +11,17 @@
#cluster:
# nodes: 127.0.0.1:7001,127.0.0.1:7002,127.0.0.1:7003
# commandTimeout: 5000
+# datasource:
+# # MySql
+# 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
+
datasource:
# MySql
- url: jdbc:mysql://localhost:2083/zhbaw?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
+ url: jdbc:mysql://localhost:3306/zhbaw?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
username: root
- password: zhba0728
-
-# url: jdbc:mysql://223.82.109.183:2083/zhbaw?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
-# username: root
-# password: zhba0728
+ password: 123456
# PostgreSQL
#url: jdbc:postgresql://127.0.0.1:5432/bladex_boot
@@ -38,10 +40,25 @@
#图片批量上传zip
upload:
localtion: ${UPLOAD_DIR:/home/zhongsong/anbao}
-# localtion: ${UPLOAD_DIR:D:/test}
maxFileSize: 10240KB
maxRequestSize: 102400KB
+#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
+ ftpHost: 117.40.91.118
+ ftpPort: 21
+ ftpUserName: zhbain
+ ftpPassword: zhbain
+ ftpPath: yly/anbao/
+ localPath: /home/zhongsong/anbao/
+ ip: http://47.49.36.190:9000
+ jsonUrl: /home/zhongsong/anbao/
+ username: root
+ password: ZHba@0112
+# qfqkBaseApiUrl: http://223.82.109.183:2082/api
+ qfqkBaseApiUrl: http://localhost:83
+
#第三方登陆
social:
enabled: true
--
Gitblit v1.9.3