寻宝:增加 boss 返回字段;修改领取奖励更新

This commit is contained in:
liangtongchuan
2020-12-02 21:22:40 +08:00
parent aa5daa8a6e
commit ef86623241
5 changed files with 42 additions and 18 deletions
+1 -1
View File
@@ -100,7 +100,7 @@ export async function checkComBattleDrop(roleId: string, battleCode: string) {
fixReward = ratioReward(fixReward, COM_BATTLE_ASSIST_REWARD_RATIO);
}
}
await ComBattleTeamModel.updateRewardSt(roleId, true);
await ComBattleTeamModel.updateRewardSt(team.teamCode, roleId, true);
return {status: 0, fixReward};
}