Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nbya
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
haoyanbin
nbya
Commits
cd313f83
Commit
cd313f83
authored
3 years ago
by
haoyanbin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Player
parent
75f1a3c9
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
513 additions
and
186 deletions
+513
-186
org_match.go
app/operate/apis/org_match.go
+5
-3
org_match_evaluate.go
app/operate/apis/org_match_evaluate.go
+2
-2
org_team_match_evaluate.go
app/operate/apis/org_team_match_evaluate.go
+2
-2
org_match.go
app/operate/router/org_match.go
+3
-3
org_match_evaluate.go
app/operate/service/dto/org_match_evaluate.go
+7
-8
org_match_team_player.go
app/operate/service/dto/org_match_team_player.go
+3
-1
org_player.go
app/operate/service/dto/org_player.go
+0
-1
org_match_team_player.go
app/operate/service/org_match_team_player.go
+1
-0
docs.go
docs/docs.go
+245
-83
swagger.json
docs/swagger.json
+245
-83
No files found.
app/operate/apis/org_match.go
View file @
cd313f83
...
...
@@ -377,9 +377,11 @@ func (e OrgMatch) GetPlayer(c *gin.Context) {
// @Summary <赛事>获取比赛已设置球员
// @Description <赛事>获取比赛已设置球员
// @Tags <赛事>比赛
// @Param id path string false "id"
// @Param teamId path string false "teamId"
// @Param matchId path string false "matchId"
// @Param rounds path string false "rounds"
// @Success 200 {string} string {data=models.OrgMatch} "{"code": 200, "data": [...]}"
// @Router /api/v1/org-match/get-player-is-set
/{id}
[get]
// @Router /api/v1/org-match/get-player-is-set [get]
// @Security Bearer
func
(
e
OrgMatch
)
GetPlayerIsSet
(
c
*
gin
.
Context
)
{
req
:=
dto
.
OrgMatchTeamPlayerGetPageReq
{}
...
...
@@ -525,7 +527,7 @@ func (e OrgMatch) UpdatePlayer(c *gin.Context) {
// @Product application/json
// @Param data body dto.OrgMatchTeamPlayerUpdateReq true "body"
// @Success 200 {string} string "{"code": 200, "message": "修改成功"}"
// @Router /api/v1/org-match/update-player-data
/{id}
[put]
// @Router /api/v1/org-match/update-player-data [put]
// @Security Bearer
func
(
e
OrgMatch
)
UpdatePlayerData
(
c
*
gin
.
Context
)
{
req
:=
dto
.
OrgMatchTeamPlayerUpdateReq
{}
...
...
This diff is collapsed.
Click to expand it.
app/operate/apis/org_match_evaluate.go
View file @
cd313f83
...
...
@@ -23,6 +23,7 @@ type OrgMatchEvaluate struct {
// @Summary <赛事>赛后评价列表
// @Description <赛事>赛后评价列表
// @Tags <赛事>赛后评价
// @Param data body dto.OrgMatchEvaluateGetPageReq true "body"
// @Param pageSize query int false "页条数"
// @Param pageIndex query int false "页码"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
...
...
@@ -59,8 +60,7 @@ func (e OrgMatchEvaluate) GetPage(c *gin.Context) {
// @Summary <赛事>赛后评价比赛列表
// @Description <赛事>赛后评价比赛列表
// @Tags <赛事>赛后评价
// @Param pageSize query int false "页条数"
// @Param pageIndex query int false "页码"
// @Param id path string false "id"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/org-match-evaluate/get-match [get]
// @Security Bearer
...
...
This diff is collapsed.
Click to expand it.
app/operate/apis/org_team_match_evaluate.go
View file @
cd313f83
...
...
@@ -96,7 +96,7 @@ func (e OrgTeamMatchEvaluate) GetPageMatch(c *gin.Context) {
// @Tags <球队>教练评价
// @Param id path string false "id"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/org-match-evaluate/{id} [get]
// @Router /api/v1/org-
team-
match-evaluate/{id} [get]
// @Security Bearer
func
(
e
OrgTeamMatchEvaluate
)
Get
(
c
*
gin
.
Context
)
{
req
:=
dto
.
OrgMatchEvaluateGetReq
{}
...
...
@@ -131,7 +131,7 @@ func (e OrgTeamMatchEvaluate) Get(c *gin.Context) {
// @Product application/json
// @Param data body dto.OrgMatchEvaluateUpdateReq true "body"
// @Success 200 {string} string "{"code": 200, "message": "修改成功"}"
// @Router /api/v1/org-match-evaluate/{id} [put]
// @Router /api/v1/org-
team-
match-evaluate/{id} [put]
// @Security Bearer
func
(
e
OrgTeamMatchEvaluate
)
Update
(
c
*
gin
.
Context
)
{
req
:=
dto
.
OrgMatchEvaluateUpdateReq
{}
...
...
This diff is collapsed.
Click to expand it.
app/operate/router/org_match.go
View file @
cd313f83
...
...
@@ -24,8 +24,8 @@ func registerOrgMatchRouter(v1 *gin.RouterGroup, authMiddleware *jwt.GinJWTMiddl
r
.
PUT
(
"/:id"
,
api
.
Update
)
r
.
DELETE
(
""
,
api
.
Delete
)
r
.
GET
(
"/get-player"
,
api
.
GetPlayer
)
r
.
GET
(
"/get-player-is-set
/:id
"
,
api
.
GetPlayerIsSet
)
r
.
PUT
(
"/update-player
/:id
"
,
api
.
UpdatePlayer
)
r
.
PUT
(
"/update-player-data
/:id
"
,
api
.
UpdatePlayerData
)
r
.
GET
(
"/get-player-is-set"
,
api
.
GetPlayerIsSet
)
r
.
PUT
(
"/update-player"
,
api
.
UpdatePlayer
)
r
.
PUT
(
"/update-player-data"
,
api
.
UpdatePlayerData
)
}
}
This diff is collapsed.
Click to expand it.
app/operate/service/dto/org_match_evaluate.go
View file @
cd313f83
...
...
@@ -9,14 +9,13 @@ import (
type
OrgMatchEvaluateGetPageReq
struct
{
dto
.
Pagination
`search:"-"`
LeagueId
string
`form:"leagueId" search:"type:exact;column:league_id;table:om" comment:""`
DivisionId
string
`form:"divisionId" search:"type:exact;column:division_id;table:om" comment:""`
SeasonId
string
`form:"seasonId" search:"type:exact;column:season_id;table:om" comment:""`
Rounds
string
`form:"rounds" search:"type:exact;column:rounds;table:omtp" comment:""`
PlayerName
string
`form:"playerName" search:"type:exact;column:player_name;table:omtp" comment:""`
MvStatus
string
`form:"mvStatus" search:"type:exact;column:mv_status;table:ome" comment:"视频维护状态 1 待维护 2 维护完成 3 驳回 4 维护完成"`
Status
string
`form:"status" search:"type:exact;column:status;table:ome" comment:"发布状态 1 待审核 3 驳回 4 发布完成"`
OrgMatchEvaluateOrder
LeagueId
string
`form:"leagueId" search:"type:exact;column:league_id;table:om" comment:"联赛级别id"`
//联赛级别id
DivisionId
string
`form:"divisionId" search:"type:exact;column:division_id;table:om" comment:"赛区id"`
//赛区id
SeasonId
string
`form:"seasonId" search:"type:exact;column:season_id;table:om" comment:"赛季id"`
//赛季id
Rounds
string
`form:"rounds" search:"type:exact;column:rounds;table:omtp" comment:"轮次"`
//轮次
PlayerName
string
`form:"playerName" search:"type:contains;column:player_name;table:omtp" comment:"球员名称"`
//球员名称
MvStatus
string
`form:"mvStatus" search:"type:exact;column:mv_status;table:ome" comment:"视频维护状态 1 待维护 2 维护完成 3 驳回 4 维护完成"`
//视频维护状态 1 待维护 2 维护完成 3 驳回 4 维护完成
Status
string
`form:"status" search:"type:exact;column:status;table:ome" comment:"发布状态 0 保存 1 待审核 3 驳回 4 发布完成"`
//发布状态 0 保存 1 待审核 3 驳回 4 发布完成
}
type
OrgMatchEvaluateGetPageReply
struct
{
...
...
This diff is collapsed.
Click to expand it.
app/operate/service/dto/org_match_team_player.go
View file @
cd313f83
...
...
@@ -9,7 +9,9 @@ import (
type
OrgMatchTeamPlayerGetPageReq
struct
{
dto
.
Pagination
`search:"-"`
OrgMatchTeamPlayerOrder
TeamId
string
`form:"teamId" search:"type:exact;column:team_id;table:org_match_team_player" comment:""`
MatchId
string
`form:"matchId" search:"type:exact;column:match_id;table:org_match_team_player" comment:""`
Rounds
string
`form:"rounds" search:"type:exact;column:rounds;table:org_match_team_player" comment:""`
}
type
UpdateOrgMatchTeamPlayerReq
struct
{
MatchId
string
`json:"matchId"`
...
...
This diff is collapsed.
Click to expand it.
app/operate/service/dto/org_player.go
View file @
cd313f83
...
...
@@ -10,7 +10,6 @@ import (
type
OrgPlayerGetPageReq
struct
{
dto
.
Pagination
`search:"-"`
TeamId
string
`form:"teamId" search:"type:exact;column:team_id;table:org_player" comment:""`
OrgPlayerOrder
}
type
OrgPlayerOrder
struct
{
...
...
This diff is collapsed.
Click to expand it.
app/operate/service/org_match_team_player.go
View file @
cd313f83
...
...
@@ -28,6 +28,7 @@ func (e *OrgMatchTeamPlayer) GetPage(c *dto.OrgMatchTeamPlayerGetPageReq, p *act
actions
.
Permission
(
data
.
TableName
(),
p
),
cDto
.
SetWhere
(
""
,
"team_id"
,
c
.
TeamId
),
cDto
.
SetWhere
(
""
,
"match_id"
,
c
.
MatchId
),
cDto
.
SetWhere
(
""
,
"rounds"
,
c
.
Rounds
),
)
.
Find
(
list
)
.
Limit
(
-
1
)
.
Offset
(
-
1
)
.
Count
(
count
)
.
Error
...
...
This diff is collapsed.
Click to expand it.
docs/docs.go
View file @
cd313f83
...
...
@@ -1807,11 +1807,11 @@ var doc = `{
"Bearer": []
}
],
"description": "获取联赛列表",
"description": "
\u003c赛事\u003e
获取联赛列表",
"tags": [
"联赛"
"
\u003c赛事\u003e
联赛"
],
"summary": "获取联赛列表",
"summary": "
\u003c赛事\u003e
获取联赛列表",
"parameters": [
{
"type": "integer",
...
...
@@ -1841,14 +1841,14 @@ var doc = `{
"Bearer": []
}
],
"description": "创建联赛",
"description": "
\u003c赛事\u003e
创建联赛",
"consumes": [
"application/json"
],
"tags": [
"联赛"
"
\u003c赛事\u003e
联赛"
],
"summary": "创建联赛",
"summary": "
\u003c赛事\u003e
创建联赛",
"parameters": [
{
"description": "data",
...
...
@@ -1875,11 +1875,11 @@ var doc = `{
"Bearer": []
}
],
"description": "删除联赛",
"description": "
\u003c赛事\u003e
删除联赛",
"tags": [
"联赛"
"
\u003c赛事\u003e
联赛"
],
"summary": "删除联赛",
"summary": "
\u003c赛事\u003e
删除联赛",
"parameters": [
{
"description": "ids",
...
...
@@ -1910,11 +1910,11 @@ var doc = `{
"Bearer": []
}
],
"description": "获取联赛",
"description": "
\u003c赛事\u003e
获取联赛",
"tags": [
"联赛"
"
\u003c赛事\u003e
联赛"
],
"summary": "获取联赛",
"summary": "
\u003c赛事\u003e
获取联赛",
"parameters": [
{
"type": "string",
...
...
@@ -1938,14 +1938,14 @@ var doc = `{
"Bearer": []
}
],
"description": "修改联赛",
"description": "
\u003c赛事\u003e
修改联赛",
"consumes": [
"application/json"
],
"tags": [
"联赛"
"
\u003c赛事\u003e
联赛"
],
"summary": "修改联赛",
"summary": "
\u003c赛事\u003e
修改联赛",
"parameters": [
{
"description": "body",
...
...
@@ -2083,6 +2083,15 @@ var doc = `{
],
"summary": "\u003c赛事\u003e赛后评价列表",
"parameters": [
{
"description": "body",
"name": "data",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/dto.OrgMatchEvaluateGetPageReq"
}
},
{
"type": "integer",
"description": "页条数",
...
...
@@ -2120,16 +2129,10 @@ var doc = `{
"summary": "\u003c赛事\u003e赛后评价比赛列表",
"parameters": [
{
"type": "integer",
"description": "页条数",
"name": "pageSize",
"in": "query"
},
{
"type": "integer",
"description": "页码",
"name": "pageIndex",
"in": "query"
"type": "string",
"description": "id",
"name": "id",
"in": "path"
}
],
"responses": {
...
...
@@ -2142,42 +2145,6 @@ var doc = `{
}
}
},
"/api/v1/org-match-evaluate/status/{id}": {
"put": {
"security": [
{
"Bearer": []
}
],
"description": "\u003c赛事\u003e赛后评价影像维护",
"consumes": [
"application/json"
],
"tags": [
"\u003c赛事\u003e赛后评价"
],
"summary": "\u003c赛事\u003e赛后评价影像维护",
"parameters": [
{
"description": "body",
"name": "data",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/dto.OrgMatchEvaluateUpdateReq"
}
}
],
"responses": {
"200": {
"description": "{\"code\": 200, \"message\": \"修改成功\"}",
"schema": {
"type": "string"
}
}
}
}
},
"/api/v1/org-match-evaluate/{id}": {
"get": {
"security": [
...
...
@@ -2185,11 +2152,11 @@ var doc = `{
"Bearer": []
}
],
"description": "\u003c
球队\u003e教练
评价比赛详情",
"description": "\u003c
赛事\u003e赛后
评价比赛详情",
"tags": [
"\u003c
球队\u003e教练
评价"
"\u003c
赛事\u003e赛后
评价"
],
"summary": "\u003c
球队\u003e教练
评价比赛详情",
"summary": "\u003c
赛事\u003e赛后
评价比赛详情",
"parameters": [
{
"type": "string",
...
...
@@ -2213,14 +2180,14 @@ var doc = `{
"Bearer": []
}
],
"description": "\u003c
球队\u003e修改评价
",
"description": "\u003c
赛事\u003e赛后评价影像维护
",
"consumes": [
"application/json"
],
"tags": [
"\u003c
球队\u003e教练
评价"
"\u003c
赛事\u003e赛后
评价"
],
"summary": "\u003c
球队\u003e修改评价
",
"summary": "\u003c
赛事\u003e赛后评价影像维护
",
"parameters": [
{
"description": "body",
...
...
@@ -2409,18 +2376,18 @@ var doc = `{
}
}
},
"/api/v1/org-match/get-player
s-is-set/{id}
": {
"/api/v1/org-match/get-player": {
"get": {
"security": [
{
"Bearer": []
}
],
"description": "\u003c赛事\u003e获取比赛
已设置
球员",
"description": "\u003c赛事\u003e获取比赛
所有
球员",
"tags": [
"\u003c赛事\u003e比赛"
],
"summary": "\u003c赛事\u003e获取比赛
已设置
球员",
"summary": "\u003c赛事\u003e获取比赛
所有
球员",
"parameters": [
{
"type": "string",
...
...
@@ -2439,18 +2406,60 @@ var doc = `{
}
}
},
"/api/v1/org-match/get-player
s/{id}
": {
"/api/v1/org-match/get-player
-is-set
": {
"get": {
"security": [
{
"Bearer": []
}
],
"description": "\u003c赛事\u003e获取比赛
所有
球员",
"description": "\u003c赛事\u003e获取比赛
已设置
球员",
"tags": [
"\u003c赛事\u003e比赛"
],
"summary": "\u003c赛事\u003e获取比赛所有球员",
"summary": "\u003c赛事\u003e获取比赛已设置球员",
"parameters": [
{
"type": "string",
"description": "teamId",
"name": "teamId",
"in": "path"
},
{
"type": "string",
"description": "matchId",
"name": "matchId",
"in": "path"
},
{
"type": "string",
"description": "rounds",
"name": "rounds",
"in": "path"
}
],
"responses": {
"200": {
"description": "{\"code\": 200, \"data\": [...]}",
"schema": {
"type": "string"
}
}
}
}
},
"/api/v1/org-match/info/{id}": {
"get": {
"security": [
{
"Bearer": []
}
],
"description": "\u003c赛事\u003e获取比赛附加数据(比赛详情,联赛,赛区,赛季,球队)",
"tags": [
"\u003c赛事\u003e比赛"
],
"summary": "\u003c赛事\u003e获取比赛附加数据(比赛详情,联赛,赛区,赛季,球队)",
"parameters": [
{
"type": "string",
...
...
@@ -2469,21 +2478,21 @@ var doc = `{
}
}
},
"/api/v1/org-match/update-player
s-data/{id}
": {
"/api/v1/org-match/update-player": {
"put": {
"security": [
{
"Bearer": []
}
],
"description": "\u003c赛事\u003e修改比赛球员
数据
",
"description": "\u003c赛事\u003e修改比赛球员",
"consumes": [
"application/json"
],
"tags": [
"\u003c赛事\u003e比赛"
],
"summary": "\u003c赛事\u003e修改比赛球员
数据
",
"summary": "\u003c赛事\u003e修改比赛球员",
"parameters": [
{
"description": "body",
...
...
@@ -2491,7 +2500,7 @@ var doc = `{
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/dto.
OrgMatchUpdate
Req"
"$ref": "#/definitions/dto.
UpdateOrgMatchTeamPlayer
Req"
}
}
],
...
...
@@ -2505,21 +2514,21 @@ var doc = `{
}
}
},
"/api/v1/org-match/update-player
s/{id}
": {
"/api/v1/org-match/update-player
-data
": {
"put": {
"security": [
{
"Bearer": []
}
],
"description": "\u003c赛事\u003e修改比赛球员",
"description": "\u003c赛事\u003e修改比赛球员
数据
",
"consumes": [
"application/json"
],
"tags": [
"\u003c赛事\u003e比赛"
],
"summary": "\u003c赛事\u003e修改比赛球员",
"summary": "\u003c赛事\u003e修改比赛球员
数据
",
"parameters": [
{
"description": "body",
...
...
@@ -2527,7 +2536,7 @@ var doc = `{
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/dto.OrgMatchUpdateReq"
"$ref": "#/definitions/dto.OrgMatch
TeamPlayer
UpdateReq"
}
}
],
...
...
@@ -2548,11 +2557,11 @@ var doc = `{
"Bearer": []
}
],
"description": "\u003c赛事\u003e获取比赛",
"description": "\u003c赛事\u003e获取比赛
比分维护数据
",
"tags": [
"\u003c赛事\u003e比赛"
],
"summary": "\u003c赛事\u003e获取比赛",
"summary": "\u003c赛事\u003e获取比赛
比分维护数据
",
"parameters": [
{
"type": "string",
...
...
@@ -3584,6 +3593,70 @@ var doc = `{
}
}
},
"/api/v1/org-team-match-evaluate/{id}": {
"get": {
"security": [
{
"Bearer": []
}
],
"description": "\u003c球队\u003e教练评价比赛详情",
"tags": [
"\u003c球队\u003e教练评价"
],
"summary": "\u003c球队\u003e教练评价比赛详情",
"parameters": [
{
"type": "string",
"description": "id",
"name": "id",
"in": "path"
}
],
"responses": {
"200": {
"description": "{\"code\": 200, \"data\": [...]}",
"schema": {
"type": "string"
}
}
}
},
"put": {
"security": [
{
"Bearer": []
}
],
"description": "\u003c球队\u003e修改评价",
"consumes": [
"application/json"
],
"tags": [
"\u003c球队\u003e教练评价"
],
"summary": "\u003c球队\u003e修改评价",
"parameters": [
{
"description": "body",
"name": "data",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/dto.OrgMatchEvaluateUpdateReq"
}
}
],
"responses": {
"200": {
"description": "{\"code\": 200, \"message\": \"修改成功\"}",
"schema": {
"type": "string"
}
}
}
}
},
"/api/v1/org-team-match/get-players-is-set/{id}": {
"get": {
"security": [
...
...
@@ -6338,6 +6411,45 @@ var doc = `{
}
}
},
"dto.OrgMatchEvaluateGetPageReq": {
"type": "object",
"properties": {
"divisionId": {
"description": "赛区id",
"type": "string"
},
"leagueId": {
"description": "联赛级别id",
"type": "string"
},
"mvStatus": {
"description": "视频维护状态 1 待维护 2 维护完成 3 驳回 4 维护完成",
"type": "string"
},
"pageIndex": {
"type": "integer"
},
"pageSize": {
"type": "integer"
},
"playerName": {
"description": "球员名称",
"type": "string"
},
"rounds": {
"description": "轮次",
"type": "string"
},
"seasonId": {
"description": "赛季id",
"type": "string"
},
"status": {
"description": "发布状态 0 保存 1 待审核 3 驳回 4 发布完成",
"type": "string"
}
}
},
"dto.OrgMatchEvaluateUpdateReq": {
"type": "object",
"properties": {
...
...
@@ -6350,9 +6462,24 @@ var doc = `{
"id": {
"type": "integer"
},
"matchId": {
"type": "string"
},
"mvStatus": {
"type": "string"
},
"playerId": {
"type": "string"
},
"remark": {
"type": "string"
},
"rounds": {
"type": "string"
},
"status": {
"type": "string"
},
"teamUserId": {
"type": "string"
},
...
...
@@ -6456,6 +6583,12 @@ var doc = `{
"matchId": {
"type": "string"
},
"otherTeamId": {
"type": "string"
},
"playerId": {
"type": "string"
},
"playerName": {
"type": "string"
},
...
...
@@ -6468,6 +6601,9 @@ var doc = `{
"rebound": {
"type": "string"
},
"rounds": {
"type": "string"
},
"scoring": {
"type": "string"
},
...
...
@@ -6515,6 +6651,12 @@ var doc = `{
"matchId": {
"type": "string"
},
"otherTeamId": {
"type": "string"
},
"playerId": {
"type": "string"
},
"playerName": {
"type": "string"
},
...
...
@@ -6527,6 +6669,9 @@ var doc = `{
"rebound": {
"type": "string"
},
"rounds": {
"type": "string"
},
"scoring": {
"type": "string"
},
...
...
@@ -7913,6 +8058,23 @@ var doc = `{
}
}
},
"dto.UpdateOrgMatchTeamPlayerReq": {
"type": "object",
"properties": {
"matchId": {
"type": "string"
},
"otherTeamId": {
"type": "string"
},
"playersIds": {
"type": "string"
},
"rounds": {
"type": "string"
}
}
},
"dto.UpdateStatusReq": {
"type": "object",
"properties": {
...
...
This diff is collapsed.
Click to expand it.
docs/swagger.json
View file @
cd313f83
...
...
@@ -1790,11 +1790,11 @@
"Bearer"
:
[]
}
],
"description"
:
"获取联赛列表"
,
"description"
:
"
\u
003c赛事
\u
003e
获取联赛列表"
,
"tags"
:
[
"联赛"
"
\u
003c赛事
\u
003e
联赛"
],
"summary"
:
"获取联赛列表"
,
"summary"
:
"
\u
003c赛事
\u
003e
获取联赛列表"
,
"parameters"
:
[
{
"type"
:
"integer"
,
...
...
@@ -1824,14 +1824,14 @@
"Bearer"
:
[]
}
],
"description"
:
"创建联赛"
,
"description"
:
"
\u
003c赛事
\u
003e
创建联赛"
,
"consumes"
:
[
"application/json"
],
"tags"
:
[
"联赛"
"
\u
003c赛事
\u
003e
联赛"
],
"summary"
:
"创建联赛"
,
"summary"
:
"
\u
003c赛事
\u
003e
创建联赛"
,
"parameters"
:
[
{
"description"
:
"data"
,
...
...
@@ -1858,11 +1858,11 @@
"Bearer"
:
[]
}
],
"description"
:
"删除联赛"
,
"description"
:
"
\u
003c赛事
\u
003e
删除联赛"
,
"tags"
:
[
"联赛"
"
\u
003c赛事
\u
003e
联赛"
],
"summary"
:
"删除联赛"
,
"summary"
:
"
\u
003c赛事
\u
003e
删除联赛"
,
"parameters"
:
[
{
"description"
:
"ids"
,
...
...
@@ -1893,11 +1893,11 @@
"Bearer"
:
[]
}
],
"description"
:
"获取联赛"
,
"description"
:
"
\u
003c赛事
\u
003e
获取联赛"
,
"tags"
:
[
"联赛"
"
\u
003c赛事
\u
003e
联赛"
],
"summary"
:
"获取联赛"
,
"summary"
:
"
\u
003c赛事
\u
003e
获取联赛"
,
"parameters"
:
[
{
"type"
:
"string"
,
...
...
@@ -1921,14 +1921,14 @@
"Bearer"
:
[]
}
],
"description"
:
"修改联赛"
,
"description"
:
"
\u
003c赛事
\u
003e
修改联赛"
,
"consumes"
:
[
"application/json"
],
"tags"
:
[
"联赛"
"
\u
003c赛事
\u
003e
联赛"
],
"summary"
:
"修改联赛"
,
"summary"
:
"
\u
003c赛事
\u
003e
修改联赛"
,
"parameters"
:
[
{
"description"
:
"body"
,
...
...
@@ -2066,6 +2066,15 @@
],
"summary"
:
"
\u
003c赛事
\u
003e赛后评价列表"
,
"parameters"
:
[
{
"description"
:
"body"
,
"name"
:
"data"
,
"in"
:
"body"
,
"required"
:
true
,
"schema"
:
{
"$ref"
:
"#/definitions/dto.OrgMatchEvaluateGetPageReq"
}
},
{
"type"
:
"integer"
,
"description"
:
"页条数"
,
...
...
@@ -2103,16 +2112,10 @@
"summary"
:
"
\u
003c赛事
\u
003e赛后评价比赛列表"
,
"parameters"
:
[
{
"type"
:
"integer"
,
"description"
:
"页条数"
,
"name"
:
"pageSize"
,
"in"
:
"query"
},
{
"type"
:
"integer"
,
"description"
:
"页码"
,
"name"
:
"pageIndex"
,
"in"
:
"query"
"type"
:
"string"
,
"description"
:
"id"
,
"name"
:
"id"
,
"in"
:
"path"
}
],
"responses"
:
{
...
...
@@ -2125,42 +2128,6 @@
}
}
},
"/api/v1/org-match-evaluate/status/{id}"
:
{
"put"
:
{
"security"
:
[
{
"Bearer"
:
[]
}
],
"description"
:
"
\u
003c赛事
\u
003e赛后评价影像维护"
,
"consumes"
:
[
"application/json"
],
"tags"
:
[
"
\u
003c赛事
\u
003e赛后评价"
],
"summary"
:
"
\u
003c赛事
\u
003e赛后评价影像维护"
,
"parameters"
:
[
{
"description"
:
"body"
,
"name"
:
"data"
,
"in"
:
"body"
,
"required"
:
true
,
"schema"
:
{
"$ref"
:
"#/definitions/dto.OrgMatchEvaluateUpdateReq"
}
}
],
"responses"
:
{
"200"
:
{
"description"
:
"{
\"
code
\"
: 200,
\"
message
\"
:
\"
修改成功
\"
}"
,
"schema"
:
{
"type"
:
"string"
}
}
}
}
},
"/api/v1/org-match-evaluate/{id}"
:
{
"get"
:
{
"security"
:
[
...
...
@@ -2168,11 +2135,11 @@
"Bearer"
:
[]
}
],
"description"
:
"
\u
003c
球队
\u
003e教练
评价比赛详情"
,
"description"
:
"
\u
003c
赛事
\u
003e赛后
评价比赛详情"
,
"tags"
:
[
"
\u
003c
球队
\u
003e教练
评价"
"
\u
003c
赛事
\u
003e赛后
评价"
],
"summary"
:
"
\u
003c
球队
\u
003e教练
评价比赛详情"
,
"summary"
:
"
\u
003c
赛事
\u
003e赛后
评价比赛详情"
,
"parameters"
:
[
{
"type"
:
"string"
,
...
...
@@ -2196,14 +2163,14 @@
"Bearer"
:
[]
}
],
"description"
:
"
\u
003c
球队
\u
003e修改评价
"
,
"description"
:
"
\u
003c
赛事
\u
003e赛后评价影像维护
"
,
"consumes"
:
[
"application/json"
],
"tags"
:
[
"
\u
003c
球队
\u
003e教练
评价"
"
\u
003c
赛事
\u
003e赛后
评价"
],
"summary"
:
"
\u
003c
球队
\u
003e修改评价
"
,
"summary"
:
"
\u
003c
赛事
\u
003e赛后评价影像维护
"
,
"parameters"
:
[
{
"description"
:
"body"
,
...
...
@@ -2392,18 +2359,18 @@
}
}
},
"/api/v1/org-match/get-player
s-is-set/{id}
"
:
{
"/api/v1/org-match/get-player"
:
{
"get"
:
{
"security"
:
[
{
"Bearer"
:
[]
}
],
"description"
:
"
\u
003c赛事
\u
003e获取比赛
已设置
球员"
,
"description"
:
"
\u
003c赛事
\u
003e获取比赛
所有
球员"
,
"tags"
:
[
"
\u
003c赛事
\u
003e比赛"
],
"summary"
:
"
\u
003c赛事
\u
003e获取比赛
已设置
球员"
,
"summary"
:
"
\u
003c赛事
\u
003e获取比赛
所有
球员"
,
"parameters"
:
[
{
"type"
:
"string"
,
...
...
@@ -2422,18 +2389,60 @@
}
}
},
"/api/v1/org-match/get-player
s/{id}
"
:
{
"/api/v1/org-match/get-player
-is-set
"
:
{
"get"
:
{
"security"
:
[
{
"Bearer"
:
[]
}
],
"description"
:
"
\u
003c赛事
\u
003e获取比赛
所有
球员"
,
"description"
:
"
\u
003c赛事
\u
003e获取比赛
已设置
球员"
,
"tags"
:
[
"
\u
003c赛事
\u
003e比赛"
],
"summary"
:
"
\u
003c赛事
\u
003e获取比赛所有球员"
,
"summary"
:
"
\u
003c赛事
\u
003e获取比赛已设置球员"
,
"parameters"
:
[
{
"type"
:
"string"
,
"description"
:
"teamId"
,
"name"
:
"teamId"
,
"in"
:
"path"
},
{
"type"
:
"string"
,
"description"
:
"matchId"
,
"name"
:
"matchId"
,
"in"
:
"path"
},
{
"type"
:
"string"
,
"description"
:
"rounds"
,
"name"
:
"rounds"
,
"in"
:
"path"
}
],
"responses"
:
{
"200"
:
{
"description"
:
"{
\"
code
\"
: 200,
\"
data
\"
: [...]}"
,
"schema"
:
{
"type"
:
"string"
}
}
}
}
},
"/api/v1/org-match/info/{id}"
:
{
"get"
:
{
"security"
:
[
{
"Bearer"
:
[]
}
],
"description"
:
"
\u
003c赛事
\u
003e获取比赛附加数据(比赛详情,联赛,赛区,赛季,球队)"
,
"tags"
:
[
"
\u
003c赛事
\u
003e比赛"
],
"summary"
:
"
\u
003c赛事
\u
003e获取比赛附加数据(比赛详情,联赛,赛区,赛季,球队)"
,
"parameters"
:
[
{
"type"
:
"string"
,
...
...
@@ -2452,21 +2461,21 @@
}
}
},
"/api/v1/org-match/update-player
s-data/{id}
"
:
{
"/api/v1/org-match/update-player"
:
{
"put"
:
{
"security"
:
[
{
"Bearer"
:
[]
}
],
"description"
:
"
\u
003c赛事
\u
003e修改比赛球员
数据
"
,
"description"
:
"
\u
003c赛事
\u
003e修改比赛球员"
,
"consumes"
:
[
"application/json"
],
"tags"
:
[
"
\u
003c赛事
\u
003e比赛"
],
"summary"
:
"
\u
003c赛事
\u
003e修改比赛球员
数据
"
,
"summary"
:
"
\u
003c赛事
\u
003e修改比赛球员"
,
"parameters"
:
[
{
"description"
:
"body"
,
...
...
@@ -2474,7 +2483,7 @@
"in"
:
"body"
,
"required"
:
true
,
"schema"
:
{
"$ref"
:
"#/definitions/dto.
OrgMatchUpdate
Req"
"$ref"
:
"#/definitions/dto.
UpdateOrgMatchTeamPlayer
Req"
}
}
],
...
...
@@ -2488,21 +2497,21 @@
}
}
},
"/api/v1/org-match/update-player
s/{id}
"
:
{
"/api/v1/org-match/update-player
-data
"
:
{
"put"
:
{
"security"
:
[
{
"Bearer"
:
[]
}
],
"description"
:
"
\u
003c赛事
\u
003e修改比赛球员"
,
"description"
:
"
\u
003c赛事
\u
003e修改比赛球员
数据
"
,
"consumes"
:
[
"application/json"
],
"tags"
:
[
"
\u
003c赛事
\u
003e比赛"
],
"summary"
:
"
\u
003c赛事
\u
003e修改比赛球员"
,
"summary"
:
"
\u
003c赛事
\u
003e修改比赛球员
数据
"
,
"parameters"
:
[
{
"description"
:
"body"
,
...
...
@@ -2510,7 +2519,7 @@
"in"
:
"body"
,
"required"
:
true
,
"schema"
:
{
"$ref"
:
"#/definitions/dto.OrgMatchUpdateReq"
"$ref"
:
"#/definitions/dto.OrgMatch
TeamPlayer
UpdateReq"
}
}
],
...
...
@@ -2531,11 +2540,11 @@
"Bearer"
:
[]
}
],
"description"
:
"
\u
003c赛事
\u
003e获取比赛"
,
"description"
:
"
\u
003c赛事
\u
003e获取比赛
比分维护数据
"
,
"tags"
:
[
"
\u
003c赛事
\u
003e比赛"
],
"summary"
:
"
\u
003c赛事
\u
003e获取比赛"
,
"summary"
:
"
\u
003c赛事
\u
003e获取比赛
比分维护数据
"
,
"parameters"
:
[
{
"type"
:
"string"
,
...
...
@@ -3567,6 +3576,70 @@
}
}
},
"/api/v1/org-team-match-evaluate/{id}"
:
{
"get"
:
{
"security"
:
[
{
"Bearer"
:
[]
}
],
"description"
:
"
\u
003c球队
\u
003e教练评价比赛详情"
,
"tags"
:
[
"
\u
003c球队
\u
003e教练评价"
],
"summary"
:
"
\u
003c球队
\u
003e教练评价比赛详情"
,
"parameters"
:
[
{
"type"
:
"string"
,
"description"
:
"id"
,
"name"
:
"id"
,
"in"
:
"path"
}
],
"responses"
:
{
"200"
:
{
"description"
:
"{
\"
code
\"
: 200,
\"
data
\"
: [...]}"
,
"schema"
:
{
"type"
:
"string"
}
}
}
},
"put"
:
{
"security"
:
[
{
"Bearer"
:
[]
}
],
"description"
:
"
\u
003c球队
\u
003e修改评价"
,
"consumes"
:
[
"application/json"
],
"tags"
:
[
"
\u
003c球队
\u
003e教练评价"
],
"summary"
:
"
\u
003c球队
\u
003e修改评价"
,
"parameters"
:
[
{
"description"
:
"body"
,
"name"
:
"data"
,
"in"
:
"body"
,
"required"
:
true
,
"schema"
:
{
"$ref"
:
"#/definitions/dto.OrgMatchEvaluateUpdateReq"
}
}
],
"responses"
:
{
"200"
:
{
"description"
:
"{
\"
code
\"
: 200,
\"
message
\"
:
\"
修改成功
\"
}"
,
"schema"
:
{
"type"
:
"string"
}
}
}
}
},
"/api/v1/org-team-match/get-players-is-set/{id}"
:
{
"get"
:
{
"security"
:
[
...
...
@@ -6321,6 +6394,45 @@
}
}
},
"dto.OrgMatchEvaluateGetPageReq"
:
{
"type"
:
"object"
,
"properties"
:
{
"divisionId"
:
{
"description"
:
"赛区id"
,
"type"
:
"string"
},
"leagueId"
:
{
"description"
:
"联赛级别id"
,
"type"
:
"string"
},
"mvStatus"
:
{
"description"
:
"视频维护状态 1 待维护 2 维护完成 3 驳回 4 维护完成"
,
"type"
:
"string"
},
"pageIndex"
:
{
"type"
:
"integer"
},
"pageSize"
:
{
"type"
:
"integer"
},
"playerName"
:
{
"description"
:
"球员名称"
,
"type"
:
"string"
},
"rounds"
:
{
"description"
:
"轮次"
,
"type"
:
"string"
},
"seasonId"
:
{
"description"
:
"赛季id"
,
"type"
:
"string"
},
"status"
:
{
"description"
:
"发布状态 0 保存 1 待审核 3 驳回 4 发布完成"
,
"type"
:
"string"
}
}
},
"dto.OrgMatchEvaluateUpdateReq"
:
{
"type"
:
"object"
,
"properties"
:
{
...
...
@@ -6333,9 +6445,24 @@
"id"
:
{
"type"
:
"integer"
},
"matchId"
:
{
"type"
:
"string"
},
"mvStatus"
:
{
"type"
:
"string"
},
"playerId"
:
{
"type"
:
"string"
},
"remark"
:
{
"type"
:
"string"
},
"rounds"
:
{
"type"
:
"string"
},
"status"
:
{
"type"
:
"string"
},
"teamUserId"
:
{
"type"
:
"string"
},
...
...
@@ -6439,6 +6566,12 @@
"matchId"
:
{
"type"
:
"string"
},
"otherTeamId"
:
{
"type"
:
"string"
},
"playerId"
:
{
"type"
:
"string"
},
"playerName"
:
{
"type"
:
"string"
},
...
...
@@ -6451,6 +6584,9 @@
"rebound"
:
{
"type"
:
"string"
},
"rounds"
:
{
"type"
:
"string"
},
"scoring"
:
{
"type"
:
"string"
},
...
...
@@ -6498,6 +6634,12 @@
"matchId"
:
{
"type"
:
"string"
},
"otherTeamId"
:
{
"type"
:
"string"
},
"playerId"
:
{
"type"
:
"string"
},
"playerName"
:
{
"type"
:
"string"
},
...
...
@@ -6510,6 +6652,9 @@
"rebound"
:
{
"type"
:
"string"
},
"rounds"
:
{
"type"
:
"string"
},
"scoring"
:
{
"type"
:
"string"
},
...
...
@@ -7896,6 +8041,23 @@
}
}
},
"dto.UpdateOrgMatchTeamPlayerReq"
:
{
"type"
:
"object"
,
"properties"
:
{
"matchId"
:
{
"type"
:
"string"
},
"otherTeamId"
:
{
"type"
:
"string"
},
"playersIds"
:
{
"type"
:
"string"
},
"rounds"
:
{
"type"
:
"string"
}
}
},
"dto.UpdateStatusReq"
:
{
"type"
:
"object"
,
"properties"
:
{
...
...
This diff is collapsed.
Click to expand it.
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