|
@@ -181,13 +181,10 @@ 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 {
|
|
|
- Log::record("hget 3 " . $this->_key($name),Log::DEBUG);
|
|
|
return $this->handler->hGet($this->_key($name), $key);
|
|
|
}
|
|
|
}
|
|
@@ -219,7 +216,6 @@ class CacheRedis extends Cache
|
|
|
if (!$this->enable) return false;
|
|
|
|
|
|
$this->type = '';
|
|
|
- Log::record("hIncrBy " . $this->_key($name),Log::DEBUG);
|
|
|
return $this->handler->hIncrBy($this->_key($name), $key, $value);
|
|
|
}
|
|
|
|