feat(限时排行榜): 修复限时排行榜奖励发放

This commit is contained in:
luying
2023-05-23 20:59:30 +08:00
parent 1fda7ac77f
commit 0932912da9
5 changed files with 55 additions and 3 deletions

View File

@@ -94,7 +94,7 @@ export class TimeLimitRankHandler {
let serverTime = await getServerCreateTime(serverId);
let playerData = new TimeLimitRankData(activityData, 0, serverTime);
if(!playerData.needSnapshot) return resResult(STATUS.WRONG_PARMS);
await takeSnapshot(playerData, activityData.groupId);
await takeSnapshot(playerData, serverId);
return resResult(STATUS.SUCCESS);
}
}