From 6c3f54295635a358b10141080c5b950fa95ed936 Mon Sep 17 00:00:00 2001 From: v Date: Sun, 31 Aug 2025 21:25:39 +0800 Subject: [PATCH] =?UTF-8?q?up.=20=E5=BC=80=E5=90=AF=E6=96=AD=E7=BA=BF?= =?UTF-8?q?=E9=87=8D=E8=BF=9E=EF=BC=8Cws=E9=9C=80=E8=A6=81?= 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 9d3f0d0..5dee009 100644 --- a/config/database.php +++ b/config/database.php @@ -51,7 +51,7 @@ return [ // 是否严格检查字段是否存在 'fields_strict' => true, // 是否需要断线重连 - 'break_reconnect' => false, + 'break_reconnect' => true, // 监听SQL 'trigger_sql' => env('APP_DEBUG', true), // 开启字段缓存