排行榜:配置空排名

This commit is contained in:
luying
2022-08-22 18:35:30 +08:00
parent 0ea0523808
commit 54a03584c7
2 changed files with 18 additions and 2 deletions
+2 -2
View File
@@ -15,7 +15,7 @@ import { CounterModel } from "../db/Counter";
import { ActivityTimeLimitRankModel } from "../db/ActivityTimeLimitRank";
import { sendMessageToServerWithSuc } from "./pushService";
import { LadderMatchModel } from "../db/LadderMatch";
import { completeLadderRanks } from "./ladderService";
import { completeRanks } from "./ladderService";
/**
@@ -1224,7 +1224,7 @@ export async function getRankInHandler(redisKey: REDIS_KEY, type: RANK_TYPE, key
}
}
// if(type == RANK_TYPE.LADDER) {
// ranks = completeLadderRanks(ranks);
ranks = completeRanks(ranks);
// }
return { ranks, myRank }
}