This commit is contained in:
张良(004796)
2024-04-12 10:52:00 +08:00
parent fe413d0c99
commit 4d10fe5611
34 changed files with 246 additions and 212 deletions

View File

@@ -32,9 +32,9 @@ spring:
driverClassName: com.mysql.cj.jdbc.Driver
# jdbc 所有参数配置参考 https://lionli.blog.csdn.net/article/details/122018562
# rewriteBatchedStatements=true 批处理优化 大幅提升批量插入更新删除性能(对数据库有性能损耗 使用批量操作应考虑性能问题)
url: jdbc:mysql://124.222.254.188:4306/cai-new?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true
url: jdbc:mysql://localhost:3306/cai-new?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true
username: root
password: 383200134
password: 123
# 从库数据源
slave:
lazy: true
@@ -67,9 +67,9 @@ spring:
# 端口默认为6379
port: 9379
# 数据库索引
database: 15
database: 12
# 密码(如没有密码请注释掉)
password: 383200134
password: 123
# 连接超时时间
timeout: 15s
# 是否开启ssl
@@ -104,9 +104,9 @@ spring:
rabbitmq:
addresses: 127.0.0.1 #ip地址
username: admin # 账号
password: 383200134 # 密码
password: 123 # 密码
port: 5672
virtual-host: /cai
virtual-host: /cai-dev
agora:
app-id: 58ff3a37d91d48c7a8ef7a56fb8f62d0
key: 0cca1a53262c4c74b0a8c653a9b7540e

View File

@@ -60,7 +60,7 @@ spring:
# 端口默认为6379
port: 9379
# 数据库索引
database: 15
database: 12
# 密码(如没有密码请注释掉)
password: 383200134
# 连接超时时间