代码优化
This commit is contained in:
@@ -8,9 +8,9 @@ spring:
|
||||
# 数据库配置 - 生产MySQL
|
||||
datasource:
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
url: jdbc:mysql://47.111.10.27:3306/emotion?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai&useSSL=false&allowPublicKeyRetrieval=true
|
||||
username: emotion
|
||||
password: EmotionDB2024!
|
||||
url: jdbc:mysql://101.200.208.45:3306/emotion_museum?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai&useSSL=false&allowPublicKeyRetrieval=true
|
||||
username: root
|
||||
password: EmotionMuseum2025*#
|
||||
hikari:
|
||||
minimum-idle: 10
|
||||
maximum-pool-size: 50
|
||||
@@ -24,7 +24,7 @@ spring:
|
||||
|
||||
# Redis配置 - 生产Redis
|
||||
redis:
|
||||
host: localhost
|
||||
host: 101.200.208.45
|
||||
port: 6379
|
||||
timeout: 5000ms
|
||||
database: 0
|
||||
|
||||
Reference in New Issue
Block a user