diff --git a/game-server/app/servers/battle/handler/comBattleHandler.ts b/game-server/app/servers/battle/handler/comBattleHandler.ts index ea1be1022..1836f03aa 100644 --- a/game-server/app/servers/battle/handler/comBattleHandler.ts +++ b/game-server/app/servers/battle/handler/comBattleHandler.ts @@ -722,7 +722,7 @@ export class ComBattleHandler { const goods = await handleFixedReward(roleId, roleName, sid, roleSt.fixReward, 1); let actordata = await roleLevelup(roleId, warInfo.kingExp, this.app, session);// 主公升级经验 - return resResult(STATUS.SUCCESS, { goods, ...actordata, teamInfo: {status, teamCode, roleStatus, bossHpArr} }); + return resResult(STATUS.SUCCESS, { battleGoods: goods, ...actordata, teamInfo: {status, teamCode, roleStatus, bossHpArr} }); } async getComBtlStatus(msg: {teamCode: string}, session: BackendSession) { diff --git a/game-server/app/servers/battle/handler/expeditionBattleHandler.ts b/game-server/app/servers/battle/handler/expeditionBattleHandler.ts index 753184883..e072a88c8 100644 --- a/game-server/app/servers/battle/handler/expeditionBattleHandler.ts +++ b/game-server/app/servers/battle/handler/expeditionBattleHandler.ts @@ -273,7 +273,7 @@ export class ExpeditionBattleHandler { expeditionCode, expeditionId, battleCode, battleId, battleStatus: expeditionWarRecord.battleStatus, - goods: reward, + battleGoods: reward, apJson, expeditionPoint, ...actordata diff --git a/game-server/app/servers/battle/handler/normalBattleHandler.ts b/game-server/app/servers/battle/handler/normalBattleHandler.ts index 1a32bd57b..c1eb0aec0 100644 --- a/game-server/app/servers/battle/handler/normalBattleHandler.ts +++ b/game-server/app/servers/battle/handler/normalBattleHandler.ts @@ -254,7 +254,7 @@ export class NormalBattleHandler { // towerStatus: false-本层未通过, true-本层已通过 return resResult(STATUS.SUCCESS, { battleCode, battleId, status, - goods: reward, + battleGoods: reward, apJson, towerStatus, dailyNum, dungeonNum, ...actordata @@ -323,7 +323,7 @@ export class NormalBattleHandler { return resResult(STATUS.SUCCESS, { battleId, count, - goods: result, + battleGoods: result, apJson, dailyNum, dungeonNum, ...actordata