public function getList($prefix, $key)
{
if ($this->type == 'MEMCACHE') {
// Memcache有批量获取缓存的接口
$_data = $this->handler->getMulti($prefix, $key);
foreach ($_data as $k => $d) {
$data[$k] = $this->_returnData($d['CacheData'], $key);
}
} else {
foreach ($key as $k) {
$_k = $prefix . $k;
$data[$k] = $this->get($_k);
}
}
return $data;
}