Commit ed9d006d authored by liming's avatar liming

预选赛查主页查询接口

parent 97942240
......@@ -25,13 +25,13 @@ public class SeriesController {
private SeriesService seriesService;
@GetMapping("list")
@ApiOperation(value = "查询系列赛列表")
@ApiOperation(value = "1.查询系列赛列表")
public ResponseEntity<Result<List<SeriesListVO>>> getSeriesList() {
return success(seriesService.getSeriesList());
}
@GetMapping("{id}/{sportUserId}")
@ApiOperation(value = "查询系列赛详情")
@ApiOperation(value = "2.查询系列赛详情")
public ResponseEntity<Result<SeriesDetailsVO>> getSeriesDetails(
@PathVariable("id") Long id,
@PathVariable("sportUserId") Long sportUserId) {
......@@ -39,7 +39,7 @@ public class SeriesController {
}
@GetMapping("apply/preload/{seriesId}/{sportUserId}")
@ApiOperation(value = "预加载报名信息方法")
@ApiOperation(value = "3.预加载报名信息方法")
public ResponseEntity<Result<SeriesApplyPreLoadVO>> getSeresApplyPreLoadInfo(
@PathVariable("seriesId") Long seriesId,
@PathVariable("sportUserId") Long sportUserId) {
......@@ -47,14 +47,14 @@ public class SeriesController {
}
@PostMapping("apply")
@ApiOperation(value = "报名方法")
@ApiOperation(value = "4.报名方法")
public ResponseEntity<Result> seriesApply(@RequestBody SeriesApplyDTO dto) {
seriesService.seriesApply(dto);
return success();
}
@GetMapping("qualifying/{roundId}/{areaId}/{sportUserId}")
@ApiOperation(value = "查询预选赛轮次主页数据")
@ApiOperation(value = "5.查询预选赛轮次主页数据")
public ResponseEntity<Result<SeriesQualifyingMatchHomeVO>> getSeriesQualifyingMatchHomeData(
@PathVariable("roundId") Long roundId,
@PathVariable("areaId") Long areaId,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment