如果我使用zrevrangebyscore,user2 将高于user1。 但是,有一种方法可以获得所需的排名: users_with_higher_score_count = $redis.zcount("mysset", "(400", ...
確定! 回上一頁