| | |
| | | , String zs, BigDecimal zsCoin, BigDecimal zsCash, String zsImage, BigDecimal zsInt, Integer zsId,Integer zsIId |
| | | , String zs2, BigDecimal zs2Coin, BigDecimal zs2Cash, String zs2Image, BigDecimal zs2Int, Integer zs2Id,Integer zs2IId |
| | | , String ly, BigDecimal lyCoin, BigDecimal lyCash, String lyImage, BigDecimal lyInt, Integer lyId,Integer lyIId |
| | | , String v3, BigDecimal v3Coin, BigDecimal v3Cash, String v3Image, BigDecimal v3Int, Integer v3Id,Integer v3IId |
| | | ,String sutuName |
| | | |
| | | ) throws Exception { |
| | |
| | | gameConfigly.setIntegral(lyInt); |
| | | gameConfigly.setOtherId(gameId); |
| | | gameConfigList.add(gameConfigly); |
| | | |
| | | //激战3V3 |
| | | TGameConfig gameConfigv3 = new TGameConfig(); |
| | | gameConfigv3.setGameId(v3Id); |
| | | gameConfigv3.setId(v3IId); |
| | | gameConfigv3.setCash(v3Cash); |
| | | gameConfigv3.setImg(v3Image); |
| | | gameConfigv3.setName(v3); |
| | | gameConfigv3.setPlayCoin(v3Coin); |
| | | gameConfigv3.setIntegral(v3Int); |
| | | gameConfigv3.setOtherId(gameId); |
| | | gameConfigList.add(gameConfigv3); |
| | | HashMap<String, String> map1 = new HashMap<>(); |
| | | HashMap<String, String> map2 = new HashMap<>(); |
| | | |
| | |
| | | return null; |
| | | } |
| | | |
| | | public static void main(String[] args) { |
| | | HashMap<String, String> map3 = new HashMap<>(); |
| | | map3.put("space_id", "1001"); |
| | | map3.put("area_id", "4352"); |
| | | String s3 = HttpRequestUtil.getRequest("https://try.daowepark.com/v7/user_api/general/get_space_sutu", map3); |
| | | |
| | | System.err.println(s3); |
| | | } |
| | | // public static void main(String[] args) { |
| | | // HashMap<String, String> map3 = new HashMap<>(); |
| | | // map3.put("space_id", "1001"); |
| | | // map3.put("area_id", "4352"); |
| | | // String s3 = HttpRequestUtil.getRequest("https://try.daowepark.com/v7/user_api/general/get_space_sutu", map3); |
| | | // |
| | | // System.err.println(s3); |
| | | // } |
| | | @RequestMapping("/pre_add") |
| | | public String add(Model model) { |
| | | |
| | |
| | | |
| | | TGameConfig ly = gameConfigService.getOne(new QueryWrapper<TGameConfig>().eq("otherId", id).eq("gameId", 5)); |
| | | model.addAttribute("ly",ly); |
| | | |
| | | TGameConfig v3 = gameConfigService.getOne(new QueryWrapper<TGameConfig>().eq("otherId", id).eq("gameId", 0)); |
| | | model.addAttribute("v3",v3); |
| | | |
| | | |
| | | Integer objectType = UserExt.getUser().getObjectType(); |
| | |
| | | |
| | | TGameConfig ly = gameConfigService.getOne(new QueryWrapper<TGameConfig>().eq("otherId", id).eq("gameId", 5)); |
| | | model.addAttribute("ly",ly); |
| | | |
| | | |
| | | TGameConfig v3 = gameConfigService.getOne(new QueryWrapper<TGameConfig>().eq("otherId", id).eq("gameId", 0)); |
| | | model.addAttribute("v3",v3); |
| | | |
| | | |
| | | return PREFIX+"ball_pre_info.html"; |