|
@@ -181,11 +181,14 @@ class CacheRedis extends Cache
|
|
|
if (!$this->enable) return false;
|
|
|
$this->type = $prefix;
|
|
|
if ($key == '*' || is_null($key)) {
|
|
|
+ Log::record("hget 1 ",Log::DEBUG);
|
|
|
return $this->handler->hGetAll($this->_key($name));
|
|
|
} elseif (strpos($key,',') != false) {
|
|
|
+ Log::record("hget 2 ",Log::DEBUG);
|
|
|
return $this->handler->hmGet($this->_key($name), explode(',',$key));
|
|
|
} else {
|
|
|
- return $this->handler->hget($this->_key($name), $key);
|
|
|
+ Log::record("hget 3 " . $this->_key($name),Log::DEBUG);
|
|
|
+ return $this->handler->hGet($this->_key($name), $key);
|
|
|
}
|
|
|
}
|
|
|
|