| | |
| | | */ |
| | | @ResponseBody |
| | | @PostMapping("/base/worldCup/endWorldCupCallback") |
| | | public void endWorldCupCallback(){ |
| | | |
| | | public void endWorldCupCallback(String custom, Integer red_score, Integer blue){ |
| | | worldCupCompetitorService.endWorldCupCallback(custom, red_score, blue); |
| | | } |
| | | |
| | | |
| | |
| | | out.close(); |
| | | } |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 获取已报名人员列表 |
| | | * @param registeredPersonnel |
| | | * @return |
| | | */ |
| | | @ResponseBody |
| | | @PostMapping("/worldCup/getRegisteredPersonnel") |
| | | public Map<String, Object> getRegisteredPersonnel(@RequestBody RegisteredPersonnel registeredPersonnel){ |
| | | return worldCupPaymentParticipantService.getRegisteredPersonnel(registeredPersonnel); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 获取比赛排行榜列表数据 |
| | | * @param worldCupRecords |
| | | * @return |
| | | */ |
| | | @ResponseBody |
| | | @PostMapping("/worldCup/worldCupRecordsList") |
| | | public Map<String, Object> worldCupRecordsList(@RequestBody WorldCupRecords worldCupRecords){ |
| | | return worldCupCompetitorService.worldCupRecordsList(worldCupRecords); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 获取比赛统计 |
| | | * @param worldCupGameStatistics |
| | | * @return |
| | | */ |
| | | @ResponseBody |
| | | @PostMapping("/worldCup/worldCupGameStatistics") |
| | | public Map<String, Object> worldCupGameStatistics(@RequestBody WorldCupGameStatistics worldCupGameStatistics){ |
| | | return worldCupService.worldCupGameStatistics(worldCupGameStatistics); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 获取比赛统计详情列表 |
| | | * @param worldCupGameStatisticsInfoList |
| | | * @return |
| | | */ |
| | | @ResponseBody |
| | | @PostMapping("/worldCup/worldCupGameStatisticsInfoList") |
| | | public Map<String, Object> worldCupGameStatisticsInfoList(@RequestBody WorldCupGameStatisticsInfoList worldCupGameStatisticsInfoList){ |
| | | return worldCupCompetitorService.worldCupGameStatisticsInfoList(worldCupGameStatisticsInfoList); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 获取单场参赛详情列表 |
| | | * @return |
| | | */ |
| | | @ResponseBody |
| | | @PostMapping("/worldCup/worldCupGameStatisticsListInfo") |
| | | public Map<String, Object> worldCupGameStatisticsListInfo(@RequestBody WorldCupGameStatisticsListInfo worldCupGameStatisticsListInfo){ |
| | | return worldCupCompetitorService.worldCupGameStatisticsListInfo(worldCupGameStatisticsListInfo); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 修改比分 |
| | | * @param changeScore |
| | | */ |
| | | @ResponseBody |
| | | @PostMapping("/worldCup/changeScore") |
| | | public void changeScore(@RequestBody ChangeScore changeScore){ |
| | | worldCupCompetitorService.changeScore(changeScore); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 获取用户比赛记录明细 |
| | | * @param userGameRecordList |
| | | * @return |
| | | */ |
| | | @ResponseBody |
| | | @PostMapping("/worldCup/userGameRecordList") |
| | | public Map<String, Object> userGameRecordList(@RequestBody UserGameRecordList userGameRecordList){ |
| | | return worldCupCompetitorService.userGameRecordList(userGameRecordList); |
| | | } |
| | | } |