From 45f923b6528498b841dac6b2a9bd4b282d006e11 Mon Sep 17 00:00:00 2001 From: augushong Date: Tue, 19 Apr 2022 22:53:45 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E5=AE=89=E8=A3=85=E6=B5=81?= =?UTF-8?q?=E7=A8=8B=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/database.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/database.php b/config/database.php index 379d754..ecb8fac 100644 --- a/config/database.php +++ b/config/database.php @@ -5,7 +5,7 @@ use think\facade\Env; return [ // 默认使用的数据库连接配置 - 'default' => Env::get('database.driver', 'sqlite'), + 'default' => Env::get('database.type', 'sqlite'), // 自定义时间查询规则 'time_query_rule' => [],