This commit is contained in:
wangjinlei
2025-07-21 10:41:58 +08:00
parent 93a9614a0f
commit bab491bef8
4 changed files with 132 additions and 67 deletions

View File

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