mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
修改配置增加字段缓存
This commit is contained in:
parent
4ab0921b70
commit
8a0422afa2
@ -55,9 +55,9 @@ return [
|
|||||||
'fields_strict' => true,
|
'fields_strict' => true,
|
||||||
// 是否需要断线重连
|
// 是否需要断线重连
|
||||||
'break_reconnect' => false,
|
'break_reconnect' => false,
|
||||||
// 监听SQL
|
// 监听SQL执行日志
|
||||||
'trigger_sql' => true,
|
'trigger_sql' => true,
|
||||||
// 开启字段缓存
|
// 开启字段类型缓存
|
||||||
'fields_cache' => !app()->isDebug(),
|
'fields_cache' => !app()->isDebug(),
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user