🐞 fix(排行榜): 巅峰演武排行榜初始
This commit is contained in:
@@ -1081,7 +1081,7 @@ export async function setRankRedisFromDb(type: string, args?: { serverId?: numbe
|
||||
await r.setRankWithGuildInfoArrParam(guild.code, [guild.lv, guild.activeWeekly, guild.activeUpdateTime], guild);
|
||||
}
|
||||
} else if (type == REDIS_KEY.PVP_RANK) {
|
||||
let seasonNum = await CounterModel.getCounter(COUNTER.PVP_SEASON_NUM);
|
||||
let seasonNum: number = pinus.app.get('pvpSettleSeasonNum');
|
||||
if(seasonNum > 0) {
|
||||
let serverGroup = await getPVPServerGroup();
|
||||
for(let [groupId, serverIds] of serverGroup) {
|
||||
|
||||
Reference in New Issue
Block a user