有序集合
准备数据
获取 score 高分 top10 排名 (ZREVRANGE 为降序,ZRANGE 为升序)
zravrange game_rank 0 10 withscores 带分数
查看用户 ee 的实际排名 (ZREVRANK 为降序,ZRANK 为升序)、实时分数
有序集合
准备数据
获取 score 高分 top10 排名 (ZREVRANGE 为降序,ZRANGE 为升序)
zravrange game_rank 0 10 withscores 带分数
查看用户 ee 的实际排名 (ZREVRANK 为降序,ZRANK 为升序)、实时分数