This commit is contained in:
iVampireSP.com 2023-02-09 19:48:54 +08:00
parent 0c4c495758
commit eeddeab5e3
No known key found for this signature in database
GPG Key ID: 2F7B001CA27A8132

View File

@ -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);
}
/**