🐞 fix(gvg): 帮收玩家名记录错误

This commit is contained in:
luying
2023-03-03 11:24:33 +08:00
parent 7d3cb441d0
commit c970d33fdd
2 changed files with 3 additions and 3 deletions

View File

@@ -317,7 +317,7 @@ export async function getContribute(myUserData: GVGUserDataType) {
}
export async function getLeagueRankBox(configId: number, leagueCode: string, roleId: string) {
let canReceiveLeagueRanks = await GVGVestigeLeagueRankModel.getCanReceiveRanks(configId, leagueCode);
let canReceiveLeagueRanks = await GVGVestigeLeagueRankModel.getCanReceiveRanks(configId, leagueCode, roleId);
let canReceivePlayerRanks = await GVGVestigeSumRankModel.getCanReceiveRanks(configId, roleId);
let { canReceiveBox } = calVestigeLeagueBoxRewards(canReceiveLeagueRanks, canReceivePlayerRanks);
return { canReceiveBox }