mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-12 14:58:42 +00:00
fix replace
This commit is contained in:
parent
b3186cce3a
commit
866c78a6b2
|
|
@ -198,7 +198,7 @@ class RedisCache extends ConnectionAbstract
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($this->con->exists($key) > 0) {
|
if ($this->con->exists($key) > 0) {
|
||||||
$this->set($key, $this->build($value), $expire);
|
$this->set($key, $value, $expire);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
@ -304,7 +304,6 @@ class RedisCache extends ConnectionAbstract
|
||||||
*/
|
*/
|
||||||
private function reverseValue(int $type, $raw, int $start)
|
private function reverseValue(int $type, $raw, int $start)
|
||||||
{
|
{
|
||||||
var_dump($raw);
|
|
||||||
switch ($type) {
|
switch ($type) {
|
||||||
case CacheValueType::_INT:
|
case CacheValueType::_INT:
|
||||||
return (int) \substr($raw, $start + 1);
|
return (int) \substr($raw, $start + 1);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user