调用cache('key')时报错,提示未定义数组索引: prefix

浏览:757 发布日期:2018/08/14 分类:ThinkPHP5专区 关键字: thinkphp5.1,cache,prefix
tp5.1缓存配置为

return [
'type' => 'redis',
'host' => '127.0.0.1',
'expire'=> 0,
'prefix'=> 'think',
];


调用cache('key')时报错,提示未定义数组索引: prefix

附件 微信截图_20180814172844.png ( 19.87 KB 下载:4 次 )

最佳答案
评论( 相关
后面还有条评论,点击查看>>