11
This commit is contained in:
@@ -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'
|
||||
],
|
||||
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user