| | |
| | | return ballClient.list(ballQueryDto); |
| | | } |
| | | |
| | | @RequestMapping("/save") |
| | | @ResponseBody |
| | | public ResultUtil save(String red,String blue,String province,String city, Integer site,Integer store) { |
| | | // JSONObject jsonObject = JSONObject.parseObject("111"); |
| | | Game game = new Game(); |
| | | game.setRed(red); |
| | | game.setBlue(blue); |
| | | game.setProvince(province); |
| | | game.setCity(city); |
| | | game.setSiteId(site); |
| | | game.setStoreId(store); |
| | | System.out.println("============"+game); |
| | | ballClient.save(game); |
| | | return null; |
| | | } |
| | | |
| | | @RequestMapping("/pre_add") |
| | | public String add(Model model) { |
| | | // Map<String,String> map = new HashMap<>(); |