🐞 fix(gvg): 情报页面区分战区

This commit is contained in:
luying
2023-03-10 15:55:22 +08:00
parent 621608d0cf
commit 9ab737da9c
2 changed files with 3 additions and 3 deletions
@@ -478,7 +478,7 @@ export class GVGHandler {
let myLeague = await GVGLeagueModel.findLeagueByGuild(guildCode);
if(!myLeague) return resResult(STATUS.GVG_LEAGUE_NOT_EXIST);
const prepares = await GVGLeaguePrepareModel.getLvRank(configId);
const prepares = await GVGLeaguePrepareModel.getLvRank(configId, groupKey);
const leagues = await GVGLeagueModel.findByCodes(prepares.map(cur => cur.leagueCode));
const guilds = await GuildModel.findByCodesWithoutPopulate(leagues.reduce((pre, cur) => [...pre, ...cur.guildCodes], []));
const cities = await GVGCityModel.findGuardCity(configId, groupKey);