Commit 402051d4 authored by 月兔回旋于空中's avatar 月兔回旋于空中

结构 >> 提交补充

parent 1e22ea4f
Pipeline #15387 passed with stages
in 1 minute and 58 seconds
......@@ -9,6 +9,7 @@ import moe.mycard.tabulator.model.po.TournamentPO;
import moe.mycard.tabulator.model.vo.req.SaveTournamentReq;
import moe.mycard.tabulator.model.vo.req.TidReq;
import moe.mycard.tabulator.model.vo.req.UpdateTournamentReq;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
......@@ -24,7 +25,7 @@ public interface IndexApi {
ReturnMessage<?> save_tournament(@RequestBody GlobalAskBody<SaveTournamentReq> body);
@ApiOperation("分页 - 获取比赛列表")
@PostMapping("/page_tournament")
@GetMapping("/page_tournament")
ReturnMessage<Page<TournamentPO>> page_tournament(@RequestBody GlobalAskBody<?> body);
@ApiOperation("编辑 - 单场次比赛信息")
......@@ -36,7 +37,7 @@ public interface IndexApi {
ReturnMessage<?> delete_tournament(@RequestBody GlobalAskBody<TidReq> body);
@ApiOperation("详情 - 单场次比赛信息")
@PostMapping("/details_tournament_info")
@GetMapping("/details_tournament_info")
ReturnMessage<TournamentPO> details_tournament_info(@RequestBody GlobalAskBody<TidReq> body);
@ApiOperation("导出比赛")
......
......@@ -10,6 +10,7 @@ import moe.mycard.tabulator.model.vo.req.ImportParticipantPO;
import moe.mycard.tabulator.model.vo.req.TidReq;
import moe.mycard.tabulator.model.vo.req.UpdateSeatNode;
import moe.mycard.tabulator.model.vo.req.UpdateTournamentReq;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
......@@ -26,7 +27,7 @@ public interface TournamentApi {
@RequestBody GlobalAskBody<ImportParticipantPO> body);
@ApiOperation("制表")
@PostMapping("tabulation")
@GetMapping("tabulation")
ReturnMessage<TTree> tabulation(@RequestBody GlobalAskBody<TidReq> body);
@ApiOperation("编辑 - 单场次比赛信息")
......@@ -34,11 +35,11 @@ public interface TournamentApi {
ReturnMessage<?> edit_tournament(@RequestBody GlobalAskBody<UpdateTournamentReq> body);
@ApiOperation("详情 - 单场次比赛信息 常规信息")
@PostMapping("/details_tournament_info")
@GetMapping("/details_tournament_info")
ReturnMessage<TournamentPO> details_tournament_info(@RequestBody GlobalAskBody<TidReq> body);
@ApiOperation("详情 - 单场次比赛信息 树形对战信息")
@PostMapping("/details_tournament_tree")
@GetMapping("/details_tournament_tree")
ReturnMessage<String> details_tournament_tree(@RequestBody GlobalAskBody<TidReq> body);
@ApiOperation("编辑 - 座位信息")
......
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