From de676d9765f3b2e01d40bb3874c51c9cffa1d25f Mon Sep 17 00:00:00 2001 From: thinkphp Date: Thu, 22 Jul 2021 11:31:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=97=B6=E9=97=B4=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/database.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/database.php b/config/database.php index 290e00924..ba2ae8c2b 100644 --- a/config/database.php +++ b/config/database.php @@ -15,6 +15,9 @@ // 时间字段取出后的默认时间格式 'datetime_format' => 'Y-m-d H:i:s', + // 时间字段配置 配置格式:create_time,update_time + 'datetime_field' => '', + // 数据库连接配置信息 'connections' => [ 'mysql' => [