修改:战场道具返回使用其他字段
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -273,7 +273,7 @@ export class ExpeditionBattleHandler {
|
||||
expeditionCode, expeditionId,
|
||||
battleCode, battleId,
|
||||
battleStatus: expeditionWarRecord.battleStatus,
|
||||
goods: reward,
|
||||
battleGoods: reward,
|
||||
apJson,
|
||||
expeditionPoint,
|
||||
...actordata
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user