From af0a7be4d97355428e69d2e2986c8fbc4b478887 Mon Sep 17 00:00:00 2001 From: wangxinglong <2371974647@qq.com> Date: Fri, 27 May 2022 15:06:56 +0800 Subject: [PATCH] setter --- config/database.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/database.php b/config/database.php index 2941486..1d5da5e 100755 --- a/config/database.php +++ b/config/database.php @@ -34,7 +34,7 @@ return [ // 数据库连接参数 'params' => [], // 数据库编码默认采用utf8 - 'charset' => Env::get('database.charset', 'utf8'), + 'charset' => Env::get('database.charset', 'utf8mb4'), // 数据库表前缀 'prefix' => Env::get('database.prefix', 'bee_'),