改进
This commit is contained in:
parent
0c4c495758
commit
eeddeab5e3
@ -85,10 +85,10 @@ public static function hset($key, $value, $data = []): void
|
||||
Redis::hset(self::$prefix.$key, $value, json_encode($data));
|
||||
}
|
||||
|
||||
public static function hdel($key, $data = []): void
|
||||
public static function hdel($key, $hash_key): void
|
||||
{
|
||||
/** @noinspection PhpUndefinedMethodInspection */
|
||||
Redis::hdel(self::$prefix.$key, $data);
|
||||
Redis::hdel(self::$prefix.$key, $hash_key);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user