七界,排名

back_recharge
duhui 2021-09-27 16:24:44 +08:00
parent 8ef0fffa43
commit be4c659ffa
1 changed files with 1 additions and 1 deletions

View File

@ -439,7 +439,7 @@ public class SevenWorldLogic {
String crossRedisKey = RankContext.getRankEnum(RankEnum.CROSS_SEVEN_WORLD_RANK.getType()).getCrossRedisKey();
Set<ZSetOperations.TypedTuple<String>> range = RedisUtil.getInstence().getZsetreverseRangeWithScores(crossRedisKey,"",0,-1,false);
// 排名
int rank = 1;
int rank = 0;
for (ZSetOperations.TypedTuple<String> tuple : range) {
rank++;
User user = UserManager.getUserNotCache(Integer.parseInt(tuple.getValue()));