fix 修复联调时发现的bug

This commit is contained in:
luying
2020-10-27 16:50:16 +08:00
parent a74b659590
commit c25f95942c
5 changed files with 54 additions and 23 deletions
@@ -232,7 +232,7 @@ export class ExpeditionBattleHandler {
let warReward = new WarReward(roleId, roleName, battleId, isSuccess);
let reward = await warReward.saveReward(1);
let actordata = await roleLevelup(roleId, warInfo.kingExp)// 主公升级经验
let actordata = await roleLevelup(roleId, isSuccess?warInfo.kingExp:0);// 主公升级经验
return resResult(STATUS.SUCCESS, {
expeditionCode, expeditionId,