style: 修正代码格式

This commit is contained in:
2024-03-17 20:52:23 +08:00
parent 15833af7e8
commit 548143bee7
4 changed files with 21 additions and 22 deletions

View File

@@ -2,11 +2,11 @@
# 完整格式如下:
# redis://用户名:密码@主机名:端口/数据库索引?参数名=参数值&参数名=参数值
# 若没有设置 redis 用户名,但设置了密码,则可以使用以下格式:
# redis://密码@localhost:6379/0?clientName=AirGameCore
# redis://:密码@localhost:6379?clientName=HamsterCore
# 若没有设置 redis 用户名,也没有设置密码,则可以使用以下格式:
# redis://localhost:6379/0?clientName=AirGameCore
# redis://localhost:6379?clientName=HamsterCore
# 若不设置数据库,则默认使用 0
redis-url: "redis://localhost:6379/0?clientName=AirGameCore&timeout=5s"
redis-url: "redis://localhost:6379/0?clientName=HamsterCore&timeout=5s"
datasource:
# 数据库链接驱动地址
@@ -19,7 +19,7 @@ datasource:
url: "jdbc:mysql://localhost:3306/Test?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8&autoReconnect=true&useSSL=false&allowPublicKeyRetrieval=true"
# 如果你不需要做多端跨服,那么请使用 sqlite 作本地数据库
# driver: "org.sqlite.JDBC"
# url: "jdbc:sqlite:./plugins/AirGameCore/database.db"
# url: "jdbc:sqlite:./plugins/HamsterCore/database.db"
# 用户名
username: "root"
# 密码