...
|
...
|
@@ -27,7 +27,9 @@ class Quick extends Connection |
|
|
if ($this->_cacheStatus === true) {
|
|
|
if (!empty($this->_cacheTagName) && !empty($this->_cacheKey)) {
|
|
|
$this->dbCache()->tag($this->_cacheTagName)->delete($this->_cacheKey);
|
|
|
} else {
|
|
|
} elseif (!empty($this->_cacheTagName)) {
|
|
|
$this->dbCache()->delete($this->_cacheTagName);
|
|
|
} elseif (!empty($this->_cacheKey)) {
|
|
|
$this->dbCache()->delete($this->_cacheKey);
|
|
|
}
|
|
|
$this->_resetParameter();
|
...
|
...
|
@@ -220,7 +222,7 @@ class Quick extends Connection |
|
|
|
|
|
/**
|
|
|
* db cache 对象
|
|
|
* @return /Hood\Cache\CacheInterface
|
|
|
* @return \Hood\Cache\CacheInterface
|
|
|
*/
|
|
|
private function dbCache()
|
|
|
{
|
...
|
...
|
|