From ec4466f7bd4a35ceea9d46594ad97f18fc2138b8 Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Mon, 24 Mar 2025 14:39:46 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E5=8F=98=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config/config.default.yaml | 16 ++++++++-------- src/config/config.local.yaml | 18 +++++++++--------- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/src/config/config.default.yaml b/src/config/config.default.yaml index 6d3c8f4b..9d324f4a 100644 --- a/src/config/config.default.yaml +++ b/src/config/config.default.yaml @@ -143,14 +143,14 @@ jwt: database: dataSource: # 默认数据库实例 - default: - type: "mysql" - host: "127.0.0.1" - port: 3306 - username: "" - password: "" - database: "" - logging: false + # default: + # type: "mysql" + # host: "127.0.0.1" + # port: 3306 + # username: "" + # password: "" + # database: "" + # logging: false # 内置轻量级数据库 lite: type: "sqlite" diff --git a/src/config/config.local.yaml b/src/config/config.local.yaml index c5c7b9d5..f765eddb 100644 --- a/src/config/config.local.yaml +++ b/src/config/config.local.yaml @@ -25,21 +25,21 @@ staticFile: database: dataSource: # 默认数据库实例 - default: - type: "mysql" - host: "127.0.0.1" - port: 3306 - username: "" - password: "" - database: "" - logging: false + # default: + # type: "mysql" + # host: "127.0.0.1" + # port: 3306 + # username: "" + # password: "" + # database: "" + # logging: false # 内置轻量级数据库 lite: type: "sqlite" database: "" logging: false # 多个数据源时可以用这个指定默认的数据源 - defaultDataSourceName: "default" + defaultDataSourceName: "lite" # Redis 缓存数据 redis: