mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-03-31 19:08:41 +00:00
fix overwrite bug
This commit is contained in:
parent
da10692f57
commit
1abce14674
|
|
@ -107,7 +107,8 @@ class RedisCache extends ConnectionAbstract
|
|||
|
||||
if ($expire > 0) {
|
||||
$this->con->setEx($key, $expire, $this->build($value));
|
||||
var_dump($this->con->ttl($key));
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
$this->con->set($key, $this->build($value));
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user