return $this->handler->delete($this->getCacheKey($name));
改为:
if(strpos($name, '*') !== false){
$key = $this->handler->keys($this->getCacheKey($name));
}else{
$key = $this->getCacheKey($name);
}
return $this->handler->delete($key);
希望对后来着有帮助,也希望官方是否能考虑加进去。
最佳答案