This commit is contained in:
王金磊
2023-04-23 09:29:55 +08:00
parent fed98c4397
commit 7e8f5d6612
10 changed files with 437 additions and 24 deletions

View File

@@ -187,15 +187,20 @@ return [
// | 缓存设置
// +----------------------------------------------------------------------
'cache' => [
// 驱动方式
'type' => 'File',
// 缓存保存目录
'path' => CACHE_PATH,
// 缓存前缀
'prefix' => '',
// 缓存有效期 0表示永久缓存
'expire' => 0,
// 'cache' => [
// // 驱动方式
// 'type' => 'File',
// // 缓存保存目录
// 'path' => CACHE_PATH,
// // 缓存前缀
// 'prefix' => '',
// // 缓存有效期 0表示永久缓存
// 'expire' => 0,
// ],
'cache' => [
// 驱动方式
'type' => 'redis',
'host' => '127.0.0.1'
],
// +----------------------------------------------------------------------