@@ -11,7 +11,7 @@ return [
// 驱动方式 支持file cache
'type' => 'file',
// 存储连接标识 当type使用cache的时候有效
- 'store' => null,
+ 'store' => \think\facade\Env::get('cache.driver', '')=='redis'? 'redis':'',
// 过期时间
'expire' => 28800,
// 前缀