feat: spu

This commit is contained in:
2025-01-06 18:02:57 +08:00
parent 0895955973
commit fd18cffeab
12 changed files with 505 additions and 6 deletions

View File

@@ -540,6 +540,19 @@ class RedisCache
{
return $this->getRedis($poolName)->zRem($key, $value);
}
/**
* @param $key
* @param $value
* @param string $poolName
* @return false|int|Redis
* @throws ContainerExceptionInterface
* @throws NotFoundExceptionInterface
*/
public function zRank($key, $value, string $poolName = 'default')
{
return $this->getRedis($poolName)->zRank($key, $value);
}
// +--------------------------------------------------------------------------------------------------------------------------------------------
// | geo
// +--------------------------------------------------------------------------------------------------------------------------------------------