This commit is contained in:
张良(004796)
2024-04-16 19:23:14 +08:00
parent 12c184ee1e
commit 447ad89233
23 changed files with 422 additions and 56 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://localhost:3306/cai-new?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true
url: jdbc:mysql://124.222.254.188:4306/cai-v2?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true
username: root
password: 123
password: 383200134
# 从库数据源
slave:
lazy: true
@@ -69,7 +69,7 @@ spring:
# 数据库索引
database: 12
# 密码(如没有密码请注释掉)
password: 123
password: 383200134
# 连接超时时间
timeout: 15s
# 是否开启ssl
@@ -102,18 +102,18 @@ mail:
enabled: false
spring:
rabbitmq:
addresses: 127.0.0.1 #ip地址
addresses: 124.222.254.188 #ip地址
username: admin # 账号
password: 123 # 密码
password: 383200134 # 密码
port: 5672
virtual-host: /cai-dev
agora:
app-id: 58ff3a37d91d48c7a8ef7a56fb8f62d0
key: 0cca1a53262c4c74b0a8c653a9b7540e
secret: 4a4f734285f34aea86cef63b2a186f27
app-id: 58ff3a37d91d48c7a8ef7a56fb8f62d0123
key: 0cca1a53262c4c74b0a8c653a9b7540e123
secret: 4a4f734285f34aea86cef63b2a186f27123
yunxin:
app-key: 0aaefeb8a80a9889987c5346244b58e2
app-secret: 470345ca2832
app-key: 0aaefeb8a80a9889987c5346244b58e2123
app-secret: 470345ca2832123
springdoc:
api-docs:
enabled: false