From 4d2853f62fd268338d08c227c9f4103a81870a08 Mon Sep 17 00:00:00 2001 From: luying Date: Thu, 29 Jun 2023 10:25:26 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix(pvp):=20999+=E5=8F=91?= =?UTF-8?q?=E6=94=BE=E5=A5=96=E5=8A=B1=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- game-server/app/services/pvpService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game-server/app/services/pvpService.ts b/game-server/app/services/pvpService.ts index 7e539461f..8b3881034 100644 --- a/game-server/app/services/pvpService.ts +++ b/game-server/app/services/pvpService.ts @@ -611,7 +611,7 @@ export async function sendPVPRewardToUser(pvpDefense: PvpDefenseType, seasonNum: //下发邮件 if (rankGoods.length > 0) //排名奖励 await sendMailByContent(MAIL_TYPE.PVP_RANK_REWARD, pvpDefense.roleId, { - params: [JSON.stringify(seasonNum), (rankLv > 1000 ? '999+' : JSON.stringify(rankLv))], + params: [JSON.stringify(seasonNum), ((rankLv == 0 || rankLv > 1000) ? '999+' : JSON.stringify(rankLv))], goods: rankGoods }); if (heroGoods.length > 0) //武将功勋奖励