$config = Config::get('cache.');
$redis = new \think\Cache($config);
$ret = $redis->exists('name');
dump($ret);提示错误:
call_user_func_array() expects parameter 1 to be a valid callback, class 'think\cache\driver\Redis' does not have a method 'exists'
看了下源码,执行逻辑也没有发现问题的,hander也是redis的连接句柄信息的