🐞 fix(gvg): 个人积分排行榜
This commit is contained in:
@@ -235,13 +235,14 @@ export class GVGBattleHandler {
|
||||
const { ranks, myRank } = await getBattleRanksByCity(configId, groupKey, cityId, myLeague);
|
||||
const { ranks: memberRanks, myRank: myMemberRank } = await getPlayerRanksByCity(configId, groupKey, cityId, roleId);
|
||||
const { ranks: memberSettleRanks, myRank: myMemberSettleRank } = await getPlayerSettleRanksByCity(configId, groupKey, cityId, roleId);
|
||||
const recs = await GVGRecModel.findBattleRecByRole(configId, roleId, myLeague.leagueCode, 5);
|
||||
await leaveGVGCityTeamChannel(roleId, sid);
|
||||
await addRoleToGVGCityChannel(roleId, groupKey, cityId, sid);
|
||||
|
||||
return resResult(STATUS.SUCCESS, {
|
||||
cityId,
|
||||
ranks, myRank, memberRanks, myMemberRank, memberSettleRanks, myMemberSettleRank,
|
||||
recs: [],
|
||||
recs,
|
||||
teams: teamResult,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user