pvp:添加巅峰之路返回
This commit is contained in:
@@ -285,7 +285,7 @@ export class PvpHandler {
|
||||
battleCode, isSuccess,
|
||||
heroScores: showHeroScores,
|
||||
createdAt: getSeconds(createdAt),
|
||||
...pick(result, ['score', 'myRank', 'winStreakNum', 'attack', 'oppPlayers', 'challengeCnt', 'challengeRefTime', 'hisScore'])
|
||||
...pick(result, ['score', 'myRank', 'winStreakNum', 'attack', 'oppPlayers', 'challengeCnt', 'challengeRefTime', 'seasonWinNum'])
|
||||
});
|
||||
}
|
||||
|
||||
@@ -535,7 +535,7 @@ export class PvpHandler {
|
||||
let result = await addItems(roleId, roleName, sid, dicPvpBox.reward, ITEM_CHANGE_REASON.PVP_BOX_REWARD);
|
||||
// 任务
|
||||
await checkTask(serverId, roleId, sid, TASK_TYPE.PVP_RECEIVE_BOX);
|
||||
return resResult(STATUS.SUCCESS, { goods: result, receivedBox, challengeCnt, challengeRefTime });
|
||||
return resResult(STATUS.SUCCESS, { goods: result, receivedBox, challengeCnt, challengeRefTime, seasonWinNum });
|
||||
}
|
||||
|
||||
//9. 战报
|
||||
|
||||
Reference in New Issue
Block a user