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
1a12c6a2
Commit
1a12c6a2
authored
Jan 17, 2022
by
haoyanbin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
2209326d
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
152 additions
and
165 deletions
+152
-165
org_player.go
app/operate/apis/org_player.go
+1
-1
org_team_user.go
app/operate/apis/org_team_user.go
+1
-1
docs.go
docs/docs.go
+54
-59
swagger.json
docs/swagger.json
+54
-59
swagger.yaml
docs/swagger.yaml
+42
-45
No files found.
app/operate/apis/org_player.go
View file @
1a12c6a2
...
@@ -227,7 +227,7 @@ func (e OrgPlayer) Delete(c *gin.Context) {
...
@@ -227,7 +227,7 @@ func (e OrgPlayer) Delete(c *gin.Context) {
// @Tags <球队>工作人员
// @Tags <球队>工作人员
// @Accept application/json
// @Accept application/json
// @Product application/json
// @Product application/json
// @Param data body dto.Org
TeamUserUpdate
Req true "body"
// @Param data body dto.Org
PlayerUpdateStatus
Req true "body"
// @Success 200 {string} string "{"code": 200, "message": "修改成功"}"
// @Success 200 {string} string "{"code": 200, "message": "修改成功"}"
// @Router /api/v1/org-player/update-status [put]
// @Router /api/v1/org-player/update-status [put]
// @Security Bearer
// @Security Bearer
...
...
app/operate/apis/org_team_user.go
View file @
1a12c6a2
...
@@ -210,7 +210,7 @@ func (e OrgTeamUser) Update(c *gin.Context) {
...
@@ -210,7 +210,7 @@ func (e OrgTeamUser) Update(c *gin.Context) {
// @Tags <球队>工作人员
// @Tags <球队>工作人员
// @Accept application/json
// @Accept application/json
// @Product application/json
// @Product application/json
// @Param data body dto.OrgTeamUserUpdateReq true "body"
// @Param data body dto.OrgTeamUserUpdate
Status
Req true "body"
// @Success 200 {string} string "{"code": 200, "message": "修改成功"}"
// @Success 200 {string} string "{"code": 200, "message": "修改成功"}"
// @Router /api/v1/org-team-user/update-status [put]
// @Router /api/v1/org-team-user/update-status [put]
// @Security Bearer
// @Security Bearer
...
...
docs/docs.go
View file @
1a12c6a2
...
@@ -1984,11 +1984,11 @@ var doc = `{
...
@@ -1984,11 +1984,11 @@ var doc = `{
"Bearer": []
"Bearer": []
}
}
],
],
"description": "
\u003c赛事\u003e
获取联赛列表",
"description": "获取联赛列表",
"tags": [
"tags": [
"
\u003c赛事\u003e
联赛"
"联赛"
],
],
"summary": "
\u003c赛事\u003e
获取联赛列表",
"summary": "获取联赛列表",
"parameters": [
"parameters": [
{
{
"type": "integer",
"type": "integer",
...
@@ -2001,15 +2001,6 @@ var doc = `{
...
@@ -2001,15 +2001,6 @@ var doc = `{
"description": "页码",
"description": "页码",
"name": "pageIndex",
"name": "pageIndex",
"in": "query"
"in": "query"
},
{
"description": "data",
"name": "data",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/dto.OrgLeagueGetPageReq"
}
}
}
],
],
"responses": {
"responses": {
...
@@ -2027,14 +2018,14 @@ var doc = `{
...
@@ -2027,14 +2018,14 @@ var doc = `{
"Bearer": []
"Bearer": []
}
}
],
],
"description": "
\u003c赛事\u003e
创建联赛",
"description": "创建联赛",
"consumes": [
"consumes": [
"application/json"
"application/json"
],
],
"tags": [
"tags": [
"
\u003c赛事\u003e
联赛"
"联赛"
],
],
"summary": "
\u003c赛事\u003e
创建联赛",
"summary": "创建联赛",
"parameters": [
"parameters": [
{
{
"description": "data",
"description": "data",
...
@@ -2061,11 +2052,11 @@ var doc = `{
...
@@ -2061,11 +2052,11 @@ var doc = `{
"Bearer": []
"Bearer": []
}
}
],
],
"description": "
\u003c赛事\u003e
删除联赛",
"description": "删除联赛",
"tags": [
"tags": [
"
\u003c赛事\u003e
联赛"
"联赛"
],
],
"summary": "
\u003c赛事\u003e
删除联赛",
"summary": "删除联赛",
"parameters": [
"parameters": [
{
{
"description": "ids",
"description": "ids",
...
@@ -2096,11 +2087,11 @@ var doc = `{
...
@@ -2096,11 +2087,11 @@ var doc = `{
"Bearer": []
"Bearer": []
}
}
],
],
"description": "
\u003c赛事\u003e
获取联赛",
"description": "获取联赛",
"tags": [
"tags": [
"
\u003c赛事\u003e
联赛"
"联赛"
],
],
"summary": "
\u003c赛事\u003e
获取联赛",
"summary": "获取联赛",
"parameters": [
"parameters": [
{
{
"type": "string",
"type": "string",
...
@@ -2124,14 +2115,14 @@ var doc = `{
...
@@ -2124,14 +2115,14 @@ var doc = `{
"Bearer": []
"Bearer": []
}
}
],
],
"description": "
\u003c赛事\u003e
修改联赛",
"description": "修改联赛",
"consumes": [
"consumes": [
"application/json"
"application/json"
],
],
"tags": [
"tags": [
"
\u003c赛事\u003e
联赛"
"联赛"
],
],
"summary": "
\u003c赛事\u003e
修改联赛",
"summary": "修改联赛",
"parameters": [
"parameters": [
{
{
"description": "body",
"description": "body",
...
@@ -3295,7 +3286,7 @@ var doc = `{
...
@@ -3295,7 +3286,7 @@ var doc = `{
"in": "body",
"in": "body",
"required": true,
"required": true,
"schema": {
"schema": {
"$ref": "#/definitions/dto.Org
TeamUserUpdate
Req"
"$ref": "#/definitions/dto.Org
PlayerUpdateStatus
Req"
}
}
}
}
],
],
...
@@ -4388,7 +4379,7 @@ var doc = `{
...
@@ -4388,7 +4379,7 @@ var doc = `{
"in": "body",
"in": "body",
"required": true,
"required": true,
"schema": {
"schema": {
"$ref": "#/definitions/dto.OrgTeamUserUpdateReq"
"$ref": "#/definitions/dto.OrgTeamUserUpdate
Status
Req"
}
}
}
}
],
],
...
@@ -6853,19 +6844,8 @@ var doc = `{
...
@@ -6853,19 +6844,8 @@ var doc = `{
"dto.OrgLeagueGetPageReq": {
"dto.OrgLeagueGetPageReq": {
"type": "object",
"type": "object",
"properties": {
"properties": {
"createBy": {
"type": "string"
},
"createdAt": {
"type": "string"
},
"deletedAt": {
"type": "string"
},
"id": {
"type": "integer"
},
"leagueName": {
"leagueName": {
"description": "联赛级别",
"type": "string"
"type": "string"
},
},
"pageIndex": {
"pageIndex": {
...
@@ -6873,15 +6853,6 @@ var doc = `{
...
@@ -6873,15 +6853,6 @@ var doc = `{
},
},
"pageSize": {
"pageSize": {
"type": "integer"
"type": "integer"
},
"status": {
"type": "string"
},
"updateBy": {
"type": "string"
},
"updatedAt": {
"type": "string"
}
}
}
}
},
},
...
@@ -7508,6 +7479,24 @@ var doc = `{
...
@@ -7508,6 +7479,24 @@ var doc = `{
}
}
}
}
},
},
"dto.OrgPlayerUpdateStatusReq": {
"type": "object",
"properties": {
"createBy": {
"type": "integer"
},
"id": {
"type": "integer"
},
"status": {
"description": "状态 1 离队 2 在队",
"type": "string"
},
"updateBy": {
"type": "integer"
}
}
},
"dto.OrgPlayerUserInsertReq": {
"dto.OrgPlayerUserInsertReq": {
"type": "object",
"type": "object",
"properties": {
"properties": {
...
@@ -7946,6 +7935,24 @@ var doc = `{
...
@@ -7946,6 +7935,24 @@ var doc = `{
}
}
}
}
},
},
"dto.OrgTeamUserUpdateStatusReq": {
"type": "object",
"properties": {
"createBy": {
"type": "integer"
},
"id": {
"type": "integer"
},
"status": {
"description": "状态 1 离职 2 在职",
"type": "string"
},
"updateBy": {
"type": "integer"
}
}
},
"dto.PassWord": {
"dto.PassWord": {
"type": "object",
"type": "object",
"properties": {
"properties": {
...
@@ -9005,21 +9012,12 @@ var doc = `{
...
@@ -9005,21 +9012,12 @@ var doc = `{
"models.SysDept": {
"models.SysDept": {
"type": "object",
"type": "object",
"properties": {
"properties": {
"children": {
"type": "array",
"items": {
"$ref": "#/definitions/models.SysDept"
}
},
"createBy": {
"createBy": {
"type": "integer"
"type": "integer"
},
},
"createdAt": {
"createdAt": {
"type": "string"
"type": "string"
},
},
"dataScope": {
"type": "string"
},
"deptId": {
"deptId": {
"description": "部门编码",
"description": "部门编码",
"type": "integer"
"type": "integer"
...
@@ -9039,9 +9037,6 @@ var doc = `{
...
@@ -9039,9 +9037,6 @@ var doc = `{
"description": "负责人",
"description": "负责人",
"type": "string"
"type": "string"
},
},
"params": {
"type": "string"
},
"parentId": {
"parentId": {
"description": "上级部门",
"description": "上级部门",
"type": "integer"
"type": "integer"
...
...
docs/swagger.json
View file @
1a12c6a2
...
@@ -1967,11 +1967,11 @@
...
@@ -1967,11 +1967,11 @@
"Bearer"
:
[]
"Bearer"
:
[]
}
}
],
],
"description"
:
"
\u
003c赛事
\u
003e
获取联赛列表"
,
"description"
:
"获取联赛列表"
,
"tags"
:
[
"tags"
:
[
"
\u
003c赛事
\u
003e
联赛"
"联赛"
],
],
"summary"
:
"
\u
003c赛事
\u
003e
获取联赛列表"
,
"summary"
:
"获取联赛列表"
,
"parameters"
:
[
"parameters"
:
[
{
{
"type"
:
"integer"
,
"type"
:
"integer"
,
...
@@ -1984,15 +1984,6 @@
...
@@ -1984,15 +1984,6 @@
"description"
:
"页码"
,
"description"
:
"页码"
,
"name"
:
"pageIndex"
,
"name"
:
"pageIndex"
,
"in"
:
"query"
"in"
:
"query"
},
{
"description"
:
"data"
,
"name"
:
"data"
,
"in"
:
"body"
,
"required"
:
true
,
"schema"
:
{
"$ref"
:
"#/definitions/dto.OrgLeagueGetPageReq"
}
}
}
],
],
"responses"
:
{
"responses"
:
{
...
@@ -2010,14 +2001,14 @@
...
@@ -2010,14 +2001,14 @@
"Bearer"
:
[]
"Bearer"
:
[]
}
}
],
],
"description"
:
"
\u
003c赛事
\u
003e
创建联赛"
,
"description"
:
"创建联赛"
,
"consumes"
:
[
"consumes"
:
[
"application/json"
"application/json"
],
],
"tags"
:
[
"tags"
:
[
"
\u
003c赛事
\u
003e
联赛"
"联赛"
],
],
"summary"
:
"
\u
003c赛事
\u
003e
创建联赛"
,
"summary"
:
"创建联赛"
,
"parameters"
:
[
"parameters"
:
[
{
{
"description"
:
"data"
,
"description"
:
"data"
,
...
@@ -2044,11 +2035,11 @@
...
@@ -2044,11 +2035,11 @@
"Bearer"
:
[]
"Bearer"
:
[]
}
}
],
],
"description"
:
"
\u
003c赛事
\u
003e
删除联赛"
,
"description"
:
"删除联赛"
,
"tags"
:
[
"tags"
:
[
"
\u
003c赛事
\u
003e
联赛"
"联赛"
],
],
"summary"
:
"
\u
003c赛事
\u
003e
删除联赛"
,
"summary"
:
"删除联赛"
,
"parameters"
:
[
"parameters"
:
[
{
{
"description"
:
"ids"
,
"description"
:
"ids"
,
...
@@ -2079,11 +2070,11 @@
...
@@ -2079,11 +2070,11 @@
"Bearer"
:
[]
"Bearer"
:
[]
}
}
],
],
"description"
:
"
\u
003c赛事
\u
003e
获取联赛"
,
"description"
:
"获取联赛"
,
"tags"
:
[
"tags"
:
[
"
\u
003c赛事
\u
003e
联赛"
"联赛"
],
],
"summary"
:
"
\u
003c赛事
\u
003e
获取联赛"
,
"summary"
:
"获取联赛"
,
"parameters"
:
[
"parameters"
:
[
{
{
"type"
:
"string"
,
"type"
:
"string"
,
...
@@ -2107,14 +2098,14 @@
...
@@ -2107,14 +2098,14 @@
"Bearer"
:
[]
"Bearer"
:
[]
}
}
],
],
"description"
:
"
\u
003c赛事
\u
003e
修改联赛"
,
"description"
:
"修改联赛"
,
"consumes"
:
[
"consumes"
:
[
"application/json"
"application/json"
],
],
"tags"
:
[
"tags"
:
[
"
\u
003c赛事
\u
003e
联赛"
"联赛"
],
],
"summary"
:
"
\u
003c赛事
\u
003e
修改联赛"
,
"summary"
:
"修改联赛"
,
"parameters"
:
[
"parameters"
:
[
{
{
"description"
:
"body"
,
"description"
:
"body"
,
...
@@ -3278,7 +3269,7 @@
...
@@ -3278,7 +3269,7 @@
"in"
:
"body"
,
"in"
:
"body"
,
"required"
:
true
,
"required"
:
true
,
"schema"
:
{
"schema"
:
{
"$ref"
:
"#/definitions/dto.Org
TeamUserUpdate
Req"
"$ref"
:
"#/definitions/dto.Org
PlayerUpdateStatus
Req"
}
}
}
}
],
],
...
@@ -4371,7 +4362,7 @@
...
@@ -4371,7 +4362,7 @@
"in"
:
"body"
,
"in"
:
"body"
,
"required"
:
true
,
"required"
:
true
,
"schema"
:
{
"schema"
:
{
"$ref"
:
"#/definitions/dto.OrgTeamUserUpdateReq"
"$ref"
:
"#/definitions/dto.OrgTeamUserUpdate
Status
Req"
}
}
}
}
],
],
...
@@ -6836,19 +6827,8 @@
...
@@ -6836,19 +6827,8 @@
"dto.OrgLeagueGetPageReq"
:
{
"dto.OrgLeagueGetPageReq"
:
{
"type"
:
"object"
,
"type"
:
"object"
,
"properties"
:
{
"properties"
:
{
"createBy"
:
{
"type"
:
"string"
},
"createdAt"
:
{
"type"
:
"string"
},
"deletedAt"
:
{
"type"
:
"string"
},
"id"
:
{
"type"
:
"integer"
},
"leagueName"
:
{
"leagueName"
:
{
"description"
:
"联赛级别"
,
"type"
:
"string"
"type"
:
"string"
},
},
"pageIndex"
:
{
"pageIndex"
:
{
...
@@ -6856,15 +6836,6 @@
...
@@ -6856,15 +6836,6 @@
},
},
"pageSize"
:
{
"pageSize"
:
{
"type"
:
"integer"
"type"
:
"integer"
},
"status"
:
{
"type"
:
"string"
},
"updateBy"
:
{
"type"
:
"string"
},
"updatedAt"
:
{
"type"
:
"string"
}
}
}
}
},
},
...
@@ -7491,6 +7462,24 @@
...
@@ -7491,6 +7462,24 @@
}
}
}
}
},
},
"dto.OrgPlayerUpdateStatusReq"
:
{
"type"
:
"object"
,
"properties"
:
{
"createBy"
:
{
"type"
:
"integer"
},
"id"
:
{
"type"
:
"integer"
},
"status"
:
{
"description"
:
"状态 1 离队 2 在队"
,
"type"
:
"string"
},
"updateBy"
:
{
"type"
:
"integer"
}
}
},
"dto.OrgPlayerUserInsertReq"
:
{
"dto.OrgPlayerUserInsertReq"
:
{
"type"
:
"object"
,
"type"
:
"object"
,
"properties"
:
{
"properties"
:
{
...
@@ -7929,6 +7918,24 @@
...
@@ -7929,6 +7918,24 @@
}
}
}
}
},
},
"dto.OrgTeamUserUpdateStatusReq"
:
{
"type"
:
"object"
,
"properties"
:
{
"createBy"
:
{
"type"
:
"integer"
},
"id"
:
{
"type"
:
"integer"
},
"status"
:
{
"description"
:
"状态 1 离职 2 在职"
,
"type"
:
"string"
},
"updateBy"
:
{
"type"
:
"integer"
}
}
},
"dto.PassWord"
:
{
"dto.PassWord"
:
{
"type"
:
"object"
,
"type"
:
"object"
,
"properties"
:
{
"properties"
:
{
...
@@ -8988,21 +8995,12 @@
...
@@ -8988,21 +8995,12 @@
"models.SysDept"
:
{
"models.SysDept"
:
{
"type"
:
"object"
,
"type"
:
"object"
,
"properties"
:
{
"properties"
:
{
"children"
:
{
"type"
:
"array"
,
"items"
:
{
"$ref"
:
"#/definitions/models.SysDept"
}
},
"createBy"
:
{
"createBy"
:
{
"type"
:
"integer"
"type"
:
"integer"
},
},
"createdAt"
:
{
"createdAt"
:
{
"type"
:
"string"
"type"
:
"string"
},
},
"dataScope"
:
{
"type"
:
"string"
},
"deptId"
:
{
"deptId"
:
{
"description"
:
"部门编码"
,
"description"
:
"部门编码"
,
"type"
:
"integer"
"type"
:
"integer"
...
@@ -9022,9 +9020,6 @@
...
@@ -9022,9 +9020,6 @@
"description"
:
"负责人"
,
"description"
:
"负责人"
,
"type"
:
"string"
"type"
:
"string"
},
},
"params"
:
{
"type"
:
"string"
},
"parentId"
:
{
"parentId"
:
{
"description"
:
"上级部门"
,
"description"
:
"上级部门"
,
"type"
:
"integer"
"type"
:
"integer"
...
...
docs/swagger.yaml
View file @
1a12c6a2
...
@@ -232,26 +232,13 @@ definitions:
...
@@ -232,26 +232,13 @@ definitions:
type
:
object
type
:
object
dto.OrgLeagueGetPageReq
:
dto.OrgLeagueGetPageReq
:
properties
:
properties
:
createBy
:
type
:
string
createdAt
:
type
:
string
deletedAt
:
type
:
string
id
:
type
:
integer
leagueName
:
leagueName
:
description
:
联赛级别
type
:
string
type
:
string
pageIndex
:
pageIndex
:
type
:
integer
type
:
integer
pageSize
:
pageSize
:
type
:
integer
type
:
integer
status
:
type
:
string
updateBy
:
type
:
string
updatedAt
:
type
:
string
type
:
object
type
:
object
dto.OrgLeagueInsertReq
:
dto.OrgLeagueInsertReq
:
properties
:
properties
:
...
@@ -668,6 +655,18 @@ definitions:
...
@@ -668,6 +655,18 @@ definitions:
username
:
username
:
type
:
string
type
:
string
type
:
object
type
:
object
dto.OrgPlayerUpdateStatusReq
:
properties
:
createBy
:
type
:
integer
id
:
type
:
integer
status
:
description
:
状态 1 离队 2 在队
type
:
string
updateBy
:
type
:
integer
type
:
object
dto.OrgPlayerUserInsertReq
:
dto.OrgPlayerUserInsertReq
:
properties
:
properties
:
createBy
:
createBy
:
...
@@ -959,6 +958,18 @@ definitions:
...
@@ -959,6 +958,18 @@ definitions:
userName
:
userName
:
type
:
string
type
:
string
type
:
object
type
:
object
dto.OrgTeamUserUpdateStatusReq
:
properties
:
createBy
:
type
:
integer
id
:
type
:
integer
status
:
description
:
状态 1 离职 2 在职
type
:
string
updateBy
:
type
:
integer
type
:
object
dto.PassWord
:
dto.PassWord
:
properties
:
properties
:
newPassword
:
newPassword
:
...
@@ -1680,16 +1691,10 @@ definitions:
...
@@ -1680,16 +1691,10 @@ definitions:
type
:
object
type
:
object
models.SysDept
:
models.SysDept
:
properties
:
properties
:
children
:
items
:
$ref
:
'
#/definitions/models.SysDept'
type
:
array
createBy
:
createBy
:
type
:
integer
type
:
integer
createdAt
:
createdAt
:
type
:
string
type
:
string
dataScope
:
type
:
string
deptId
:
deptId
:
description
:
部门编码
description
:
部门编码
type
:
integer
type
:
integer
...
@@ -1704,8 +1709,6 @@ definitions:
...
@@ -1704,8 +1709,6 @@ definitions:
leader
:
leader
:
description
:
负责人
description
:
负责人
type
:
string
type
:
string
params
:
type
:
string
parentId
:
parentId
:
description
:
上级部门
description
:
上级部门
type
:
integer
type
:
integer
...
@@ -3170,7 +3173,7 @@ paths:
...
@@ -3170,7 +3173,7 @@ paths:
-
<赛事>赛区
-
<赛事>赛区
/api/v1/org-league
:
/api/v1/org-league
:
delete
:
delete
:
description
:
<赛事>
删除联赛
description
:
删除联赛
parameters
:
parameters
:
-
description
:
ids
-
description
:
ids
in
:
body
in
:
body
...
@@ -3186,11 +3189,11 @@ paths:
...
@@ -3186,11 +3189,11 @@ paths:
type
:
string
type
:
string
security
:
security
:
-
Bearer
:
[]
-
Bearer
:
[]
summary
:
<赛事>
删除联赛
summary
:
删除联赛
tags
:
tags
:
-
<赛事>
联赛
-
联赛
get
:
get
:
description
:
<赛事>
获取联赛列表
description
:
获取联赛列表
parameters
:
parameters
:
-
description
:
页条数
-
description
:
页条数
in
:
query
in
:
query
...
@@ -3200,12 +3203,6 @@ paths:
...
@@ -3200,12 +3203,6 @@ paths:
in
:
query
in
:
query
name
:
pageIndex
name
:
pageIndex
type
:
integer
type
:
integer
-
description
:
data
in
:
body
name
:
data
required
:
true
schema
:
$ref
:
'
#/definitions/dto.OrgLeagueGetPageReq'
responses
:
responses
:
"
200"
:
"
200"
:
description
:
'
{"code":
200,
"data":
[...]}'
description
:
'
{"code":
200,
"data":
[...]}'
...
@@ -3213,13 +3210,13 @@ paths:
...
@@ -3213,13 +3210,13 @@ paths:
type
:
string
type
:
string
security
:
security
:
-
Bearer
:
[]
-
Bearer
:
[]
summary
:
<赛事>
获取联赛列表
summary
:
获取联赛列表
tags
:
tags
:
-
<赛事>
联赛
-
联赛
post
:
post
:
consumes
:
consumes
:
-
application/json
-
application/json
description
:
<赛事>
创建联赛
description
:
创建联赛
parameters
:
parameters
:
-
description
:
data
-
description
:
data
in
:
body
in
:
body
...
@@ -3234,12 +3231,12 @@ paths:
...
@@ -3234,12 +3231,12 @@ paths:
type
:
string
type
:
string
security
:
security
:
-
Bearer
:
[]
-
Bearer
:
[]
summary
:
<赛事>
创建联赛
summary
:
创建联赛
tags
:
tags
:
-
<赛事>
联赛
-
联赛
/api/v1/org-league/{id}
:
/api/v1/org-league/{id}
:
get
:
get
:
description
:
<赛事>
获取联赛
description
:
获取联赛
parameters
:
parameters
:
-
description
:
id
-
description
:
id
in
:
path
in
:
path
...
@@ -3252,13 +3249,13 @@ paths:
...
@@ -3252,13 +3249,13 @@ paths:
type
:
string
type
:
string
security
:
security
:
-
Bearer
:
[]
-
Bearer
:
[]
summary
:
<赛事>
获取联赛
summary
:
获取联赛
tags
:
tags
:
-
<赛事>
联赛
-
联赛
put
:
put
:
consumes
:
consumes
:
-
application/json
-
application/json
description
:
<赛事>
修改联赛
description
:
修改联赛
parameters
:
parameters
:
-
description
:
body
-
description
:
body
in
:
body
in
:
body
...
@@ -3273,9 +3270,9 @@ paths:
...
@@ -3273,9 +3270,9 @@ paths:
type
:
string
type
:
string
security
:
security
:
-
Bearer
:
[]
-
Bearer
:
[]
summary
:
<赛事>
修改联赛
summary
:
修改联赛
tags
:
tags
:
-
<赛事>
联赛
-
联赛
/api/v1/org-match
:
/api/v1/org-match
:
delete
:
delete
:
description
:
<赛事>删除比赛
description
:
<赛事>删除比赛
...
@@ -4012,7 +4009,7 @@ paths:
...
@@ -4012,7 +4009,7 @@ paths:
name
:
data
name
:
data
required
:
true
required
:
true
schema
:
schema
:
$ref
:
'
#/definitions/dto.Org
TeamUserUpdate
Req'
$ref
:
'
#/definitions/dto.Org
PlayerUpdateStatus
Req'
responses
:
responses
:
"
200"
:
"
200"
:
description
:
'
{"code":
200,
"message":
"修改成功"}'
description
:
'
{"code":
200,
"message":
"修改成功"}'
...
@@ -4681,7 +4678,7 @@ paths:
...
@@ -4681,7 +4678,7 @@ paths:
name
:
data
name
:
data
required
:
true
required
:
true
schema
:
schema
:
$ref
:
'
#/definitions/dto.OrgTeamUserUpdateReq'
$ref
:
'
#/definitions/dto.OrgTeamUserUpdate
Status
Req'
responses
:
responses
:
"
200"
:
"
200"
:
description
:
'
{"code":
200,
"message":
"修改成功"}'
description
:
'
{"code":
200,
"message":
"修改成功"}'
...
...
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