fix 奇遇无法刷出
This commit is contained in:
@@ -127,7 +127,7 @@ export class PvpHandler {
|
||||
|
||||
await BattleRecordModel.updateBattleRecordByCode(battleCode, {
|
||||
$set: {
|
||||
roleId, roleName, warId,
|
||||
roleId, roleName, battleId: warId,
|
||||
status: 0,
|
||||
warName: warInfo.gk_name,
|
||||
warType: warInfo.warType,
|
||||
|
||||
@@ -78,7 +78,7 @@ export class EntryHandler {
|
||||
let equips = await EquipModel.findbyRole(role.roleId);
|
||||
let items = await ItemModel.findbyRole(role.roleId);
|
||||
|
||||
await chackFunOpenWhenLogin(role, session.get('funcs'));
|
||||
await chackFunOpenWhenLogin(role, session);
|
||||
await loginRefresh(role.roleId);
|
||||
|
||||
role['heros'] = heros.map(cur => returnHeroCeRatio(cur));
|
||||
|
||||
Reference in New Issue
Block a user