Merge branch 'master_test_gn_arena' of http://60.1.1.230/backend/jieling_server into master_test_gn_arena

back_recharge
mengchengzhen 2021-07-29 18:40:43 +08:00
commit d7871504cf
1 changed files with 7 additions and 1 deletions

View File

@ -196,7 +196,13 @@ public class CrossServiceLogic {
arenaOfHero.setJewelInfo(new HashSet<>(hero.getJewelInfo()));
arenaOfHero.setCreateTime(hero.getCreateType());
arenaOfHero.setChangeId(hero.getChangeId());
Map<Integer, Long> attribute = HeroLogic.getInstance().calHeroNotBufferAttribute(user, hero, false, GlobalsDef.WORLD_TEAM_ARENA_DEFENSE);
Map<Integer, Long> attribute = new HashMap<>();
try {
attribute = HeroLogic.getInstance().calHeroNotBufferAttribute(user, hero, false, GlobalsDef.WORLD_TEAM_ARENA_DEFENSE);
}catch (Exception e){
LOGGER.error("英雄熟悉报错:{}",e.getMessage());
attribute = new HashMap<>();
}
arenaOfHero.setAttributeMap(attribute);
return arenaOfHero;
}