From 135a322f44708b1187d37ea4b6859b5d82113e89 Mon Sep 17 00:00:00 2001
From: kongzy <kongzy>
Date: Wed, 14 Aug 2024 11:00:30 +0800
Subject: [PATCH] update gitignore
---
src/main/resources/application-dev.yml | 39 ++++++++++++++++++++-------------------
1 files changed, 20 insertions(+), 19 deletions(-)
diff --git a/src/main/resources/application-louge.yml b/src/main/resources/application-dev.yml
similarity index 74%
rename from src/main/resources/application-louge.yml
rename to src/main/resources/application-dev.yml
index 888c21a..d2638e4 100644
--- a/src/main/resources/application-louge.yml
+++ b/src/main/resources/application-dev.yml
@@ -6,25 +6,13 @@
spring:
datasource:
type: com.alibaba.druid.pool.DruidDataSource
- driverClassName: com.mysql.cj.jdbc.Driver
+ driverClassName: com.mysql.jdbc.Driver
druid:
# 主库数据源
master:
- url: jdbc:mysql://124.221.179.102:3306/testqhs?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2B8
- username: testqhs
- password: raD2AEaccLRsaFrB
-
-# url: jdbc:mysql://localhost:3306/trouble_and_risk.guotai?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
-# username: root
-# password: root
-
-# url: jdbc:mysql://localhost:17716/trouble_and_risk?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
-# username: trouble_and_risk
-# password: Bw44sxzyiE8SdWzJ
-
-# url: jdbc:mysql://192.168.10.201:3306/trouble_and_risk?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
-# username: trouble_and_risk
-# password: LYGstJAYc85jkF7H
+ url: jdbc:mysql://192.168.2.16:39231/gt_double_risk?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2B8
+ username: gt_double_risk
+ password: B6CrYp7ZhTNdJF4Y
# 从库数据源
slave:
@@ -75,9 +63,9 @@
# redis
redis:
- host: 192.168.0.52
+ host: 127.0.0.1
port: 6379
- password: SEF98uvs98dUAUEF90Udssa # Redis 服务器密码,默认为空。生产中,一定要设置 Redis 密码!
+ password: # Redis 服务器密码,默认为空。生产中,一定要设置 Redis 密码!
database: 0 # Redis 数据库号,默认为 0
timeout: 15000 # Redis 连接超时时间,单位:毫秒。
lettuce:
@@ -111,4 +99,17 @@
profile: D:/ProjFile/TroubleAndRisk
# profile: /home/troubleAndRisk/upload
# 获取ip地址开关
- addressEnabled: true
\ No newline at end of file
+ addressEnabled: true
+
+
+# 日志配置
+logging:
+ level:
+ com.ruoyi: debug
+ org.springframework: warn
+
+#极光推送内容
+jpush:
+ appKey: dac5323e315005928daa4330_1
+ masterSecret: d115672ccd8d69d0b75c4926
+ liveTime: 172800
\ No newline at end of file
--
Gitblit v1.9.2