wcc 1 gadu atpakaļ
vecāks
revīzija
9ad523ad2d

+ 1 - 1
game-module/game-module-manage/src/main/java/com/zanxiang/game/module/manage/service/impl/AgentServiceImpl.java

@@ -172,7 +172,7 @@ public class AgentServiceImpl extends ServiceImpl<AgentMapper, Agent> implements
         Map<Long, GameInfoVO> gameMap = gameService.infoByIds(gameIds).stream().collect(Collectors.toMap(GameInfoVO::getId, Function.identity()));
         Map<Long, String> userMap = sysUserRpc.getUserNameByIds(new ArrayList<>(userIds)).getData();
         return agentList.stream().map(agent -> {
-            AgentVO vo = BeanUtil.copy(agent, AgentVO.class);
+            AgentVO vo = toVOSimple(agent);
             vo.setGameInfo(gameMap.get(agent.getGameId()));
             if (AccountTypeEnum.TENCENT_H5.getValue().equals(agent.getAccountType())) {
                 vo.setUserActionSet(userActionSetMap.get(agent.getAccountId() + "_" + agent.getUserActionSetId()));