1、集合校验
List<GameConfig> gameConfigList = gameService.getGameConfigByGameid(game2.getId());
if (CollectionUtils.isEmpty(gameConfigList)) {
throw new AppBizException(ErrorCodes.ERROR, "game config meet error!");
}
1、集合校验
List<GameConfig> gameConfigList = gameService.getGameConfigByGameid(game2.getId());
if (CollectionUtils.isEmpty(gameConfigList)) {
throw new AppBizException(ErrorCodes.ERROR, "game config meet error!");
}