|
@@ -486,8 +486,8 @@ public class RoleManageServiceImpl implements IRoleManageService {
|
|
GameDTO gameDTO = parentGameMap.get(dto.getGameId());
|
|
GameDTO gameDTO = parentGameMap.get(dto.getGameId());
|
|
Map<Long, SuperGameDTO> superGameMap = getSuperGameMap();
|
|
Map<Long, SuperGameDTO> superGameMap = getSuperGameMap();
|
|
SuperGameDTO superGameDTO = superGameMap.get(gameDTO.getSuperGameId());
|
|
SuperGameDTO superGameDTO = superGameMap.get(gameDTO.getSuperGameId());
|
|
- if(superGameDTO!=null
|
|
|
|
- && (StringUtils.isEmpty(superGameDTO.getCpSendMsgKey())||StringUtils.isEmpty(superGameDTO.getCpSendMsgUrl()))){
|
|
|
|
|
|
+ if(superGameDTO==null
|
|
|
|
+ || StringUtils.isEmpty(superGameDTO.getCpSendMsgKey())||StringUtils.isEmpty(superGameDTO.getCpSendMsgUrl())){
|
|
throw new BaseException(gameDTO.getGameName()+">该游戏不支持发送消息");
|
|
throw new BaseException(gameDTO.getGameName()+">该游戏不支持发送消息");
|
|
}
|
|
}
|
|
//获取当前用户id
|
|
//获取当前用户id
|