liujie
9 小时以前 50430e0e13de4e3d0c73fcf9e099a2327706fc4f
cloud-server-communityWorldCup/src/main/java/com/dsh/communityWorldCup/service/impl/WorldCupServiceImpl.java
@@ -148,12 +148,12 @@
        }
        //1、通过扫码获取的sutuid查询t_game表中的红蓝方sutuid
        // 智慧需要判断code
        String code = startWorldCup.getCode();
        JSONObject object = JSON.parseObject(code);
        String sutu_id = object.getString("sutu_id");
        TGame tGame = gameClient.getTGameBySutuId(sutu_id);
        TGame tGame =new TGame();
        if (worldCup.getType() == null || worldCup.getType() == 1) {
            String code = startWorldCup.getCode();
            JSONObject object = JSON.parseObject(code);
            String sutu_id = object.getString("sutu_id");
            tGame = gameClient.getTGameBySutuId(sutu_id);
            if (null == tGame) {
                return ResultUtil.error("无效的游戏二维码");
            }