Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
D
deprecated-tabulator
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
deprecated-tabulator
Commits
402051d4
Commit
402051d4
authored
Aug 05, 2022
by
月兔回旋于空中
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
结构 >> 提交补充
parent
1e22ea4f
Pipeline
#15387
passed with stages
in 1 minute and 58 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
src/main/java/moe/mycard/tabulator/api/IndexApi.java
src/main/java/moe/mycard/tabulator/api/IndexApi.java
+3
-2
src/main/java/moe/mycard/tabulator/api/TournamentApi.java
src/main/java/moe/mycard/tabulator/api/TournamentApi.java
+4
-3
No files found.
src/main/java/moe/mycard/tabulator/api/IndexApi.java
View file @
402051d4
...
@@ -9,6 +9,7 @@ import moe.mycard.tabulator.model.po.TournamentPO;
...
@@ -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.SaveTournamentReq
;
import
moe.mycard.tabulator.model.vo.req.TidReq
;
import
moe.mycard.tabulator.model.vo.req.TidReq
;
import
moe.mycard.tabulator.model.vo.req.UpdateTournamentReq
;
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.PostMapping
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
...
@@ -24,7 +25,7 @@ public interface IndexApi {
...
@@ -24,7 +25,7 @@ public interface IndexApi {
ReturnMessage
<?>
save_tournament
(
@RequestBody
GlobalAskBody
<
SaveTournamentReq
>
body
);
ReturnMessage
<?>
save_tournament
(
@RequestBody
GlobalAskBody
<
SaveTournamentReq
>
body
);
@ApiOperation
(
"分页 - 获取比赛列表"
)
@ApiOperation
(
"分页 - 获取比赛列表"
)
@
Pos
tMapping
(
"/page_tournament"
)
@
Ge
tMapping
(
"/page_tournament"
)
ReturnMessage
<
Page
<
TournamentPO
>>
page_tournament
(
@RequestBody
GlobalAskBody
<?>
body
);
ReturnMessage
<
Page
<
TournamentPO
>>
page_tournament
(
@RequestBody
GlobalAskBody
<?>
body
);
@ApiOperation
(
"编辑 - 单场次比赛信息"
)
@ApiOperation
(
"编辑 - 单场次比赛信息"
)
...
@@ -36,7 +37,7 @@ public interface IndexApi {
...
@@ -36,7 +37,7 @@ public interface IndexApi {
ReturnMessage
<?>
delete_tournament
(
@RequestBody
GlobalAskBody
<
TidReq
>
body
);
ReturnMessage
<?>
delete_tournament
(
@RequestBody
GlobalAskBody
<
TidReq
>
body
);
@ApiOperation
(
"详情 - 单场次比赛信息"
)
@ApiOperation
(
"详情 - 单场次比赛信息"
)
@
Pos
tMapping
(
"/details_tournament_info"
)
@
Ge
tMapping
(
"/details_tournament_info"
)
ReturnMessage
<
TournamentPO
>
details_tournament_info
(
@RequestBody
GlobalAskBody
<
TidReq
>
body
);
ReturnMessage
<
TournamentPO
>
details_tournament_info
(
@RequestBody
GlobalAskBody
<
TidReq
>
body
);
@ApiOperation
(
"导出比赛"
)
@ApiOperation
(
"导出比赛"
)
...
...
src/main/java/moe/mycard/tabulator/api/TournamentApi.java
View file @
402051d4
...
@@ -10,6 +10,7 @@ import moe.mycard.tabulator.model.vo.req.ImportParticipantPO;
...
@@ -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.TidReq
;
import
moe.mycard.tabulator.model.vo.req.UpdateSeatNode
;
import
moe.mycard.tabulator.model.vo.req.UpdateSeatNode
;
import
moe.mycard.tabulator.model.vo.req.UpdateTournamentReq
;
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.PostMapping
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
...
@@ -26,7 +27,7 @@ public interface TournamentApi {
...
@@ -26,7 +27,7 @@ public interface TournamentApi {
@RequestBody
GlobalAskBody
<
ImportParticipantPO
>
body
);
@RequestBody
GlobalAskBody
<
ImportParticipantPO
>
body
);
@ApiOperation
(
"制表"
)
@ApiOperation
(
"制表"
)
@
Pos
tMapping
(
"tabulation"
)
@
Ge
tMapping
(
"tabulation"
)
ReturnMessage
<
TTree
>
tabulation
(
@RequestBody
GlobalAskBody
<
TidReq
>
body
);
ReturnMessage
<
TTree
>
tabulation
(
@RequestBody
GlobalAskBody
<
TidReq
>
body
);
@ApiOperation
(
"编辑 - 单场次比赛信息"
)
@ApiOperation
(
"编辑 - 单场次比赛信息"
)
...
@@ -34,11 +35,11 @@ public interface TournamentApi {
...
@@ -34,11 +35,11 @@ public interface TournamentApi {
ReturnMessage
<?>
edit_tournament
(
@RequestBody
GlobalAskBody
<
UpdateTournamentReq
>
body
);
ReturnMessage
<?>
edit_tournament
(
@RequestBody
GlobalAskBody
<
UpdateTournamentReq
>
body
);
@ApiOperation
(
"详情 - 单场次比赛信息 常规信息"
)
@ApiOperation
(
"详情 - 单场次比赛信息 常规信息"
)
@
Pos
tMapping
(
"/details_tournament_info"
)
@
Ge
tMapping
(
"/details_tournament_info"
)
ReturnMessage
<
TournamentPO
>
details_tournament_info
(
@RequestBody
GlobalAskBody
<
TidReq
>
body
);
ReturnMessage
<
TournamentPO
>
details_tournament_info
(
@RequestBody
GlobalAskBody
<
TidReq
>
body
);
@ApiOperation
(
"详情 - 单场次比赛信息 树形对战信息"
)
@ApiOperation
(
"详情 - 单场次比赛信息 树形对战信息"
)
@
Pos
tMapping
(
"/details_tournament_tree"
)
@
Ge
tMapping
(
"/details_tournament_tree"
)
ReturnMessage
<
String
>
details_tournament_tree
(
@RequestBody
GlobalAskBody
<
TidReq
>
body
);
ReturnMessage
<
String
>
details_tournament_tree
(
@RequestBody
GlobalAskBody
<
TidReq
>
body
);
@ApiOperation
(
"编辑 - 座位信息"
)
@ApiOperation
(
"编辑 - 座位信息"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment