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
2209326d
Commit
2209326d
authored
Jan 17, 2022
by
haoyanbin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Swag
parent
c14432ef
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
248 additions
and
70 deletions
+248
-70
docs.go
docs/docs.go
+94
-26
swagger.json
docs/swagger.json
+94
-26
swagger.yaml
docs/swagger.yaml
+60
-18
No files found.
docs/docs.go
View file @
2209326d
...
@@ -3273,6 +3273,42 @@ var doc = `{
...
@@ -3273,6 +3273,42 @@ var doc = `{
}
}
}
}
},
},
"/api/v1/org-player/update-status": {
"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.OrgTeamUserUpdateReq"
}
}
],
"responses": {
"200": {
"description": "{\"code\": 200, \"message\": \"修改成功\"}",
"schema": {
"type": "string"
}
}
}
}
},
"/api/v1/org-player/{id}": {
"/api/v1/org-player/{id}": {
"get": {
"get": {
"security": [
"security": [
...
@@ -4330,6 +4366,42 @@ var doc = `{
...
@@ -4330,6 +4366,42 @@ var doc = `{
}
}
}
}
},
},
"/api/v1/org-team-user/update-status": {
"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.OrgTeamUserUpdateReq"
}
}
],
"responses": {
"200": {
"description": "{\"code\": 200, \"message\": \"修改成功\"}",
"schema": {
"type": "string"
}
}
}
}
},
"/api/v1/org-team-user/{id}": {
"/api/v1/org-team-user/{id}": {
"get": {
"get": {
"security": [
"security": [
...
@@ -7421,6 +7493,10 @@ var doc = `{
...
@@ -7421,6 +7493,10 @@ var doc = `{
"shareConf": {
"shareConf": {
"type": "string"
"type": "string"
},
},
"status": {
"description": "状态 1 离队 2 在队",
"type": "string"
},
"teamId": {
"teamId": {
"type": "string"
"type": "string"
},
},
...
@@ -7849,6 +7925,10 @@ var doc = `{
...
@@ -7849,6 +7925,10 @@ var doc = `{
"signImg": {
"signImg": {
"type": "string"
"type": "string"
},
},
"status": {
"description": "状态 1 离职 2 在职",
"type": "string"
},
"teamId": {
"teamId": {
"type": "string"
"type": "string"
},
},
...
@@ -8744,7 +8824,7 @@ var doc = `{
...
@@ -8744,7 +8824,7 @@ var doc = `{
},
},
"status": {
"status": {
"type": "string",
"type": "string",
"default": "
1
"
"default": "
2
"
},
},
"updateBy": {
"updateBy": {
"type": "integer"
"type": "integer"
...
@@ -8796,7 +8876,7 @@ var doc = `{
...
@@ -8796,7 +8876,7 @@ var doc = `{
},
},
"status": {
"status": {
"type": "string",
"type": "string",
"default": "
1
"
"default": "
2
"
},
},
"updateBy": {
"updateBy": {
"type": "integer"
"type": "integer"
...
@@ -8925,12 +9005,21 @@ var doc = `{
...
@@ -8925,12 +9005,21 @@ 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"
...
@@ -8950,6 +9039,9 @@ var doc = `{
...
@@ -8950,6 +9039,9 @@ var doc = `{
"description": "负责人",
"description": "负责人",
"type": "string"
"type": "string"
},
},
"params": {
"type": "string"
},
"parentId": {
"parentId": {
"description": "上级部门",
"description": "上级部门",
"type": "integer"
"type": "integer"
...
@@ -8980,21 +9072,9 @@ var doc = `{
...
@@ -8980,21 +9072,9 @@ var doc = `{
"action": {
"action": {
"type": "string"
"type": "string"
},
},
"apis": {
"type": "array",
"items": {
"type": "integer"
}
},
"breadcrumb": {
"breadcrumb": {
"type": "string"
"type": "string"
},
},
"children": {
"type": "array",
"items": {
"$ref": "#/definitions/models.SysMenu"
}
},
"component": {
"component": {
"type": "string"
"type": "string"
},
},
...
@@ -9004,18 +9084,12 @@ var doc = `{
...
@@ -9004,18 +9084,12 @@ var doc = `{
"createdAt": {
"createdAt": {
"type": "string"
"type": "string"
},
},
"dataScope": {
"type": "string"
},
"icon": {
"icon": {
"type": "string"
"type": "string"
},
},
"isFrame": {
"isFrame": {
"type": "string"
"type": "string"
},
},
"is_select": {
"type": "boolean"
},
"menuId": {
"menuId": {
"type": "integer"
"type": "integer"
},
},
...
@@ -9028,9 +9102,6 @@ var doc = `{
...
@@ -9028,9 +9102,6 @@ var doc = `{
"noCache": {
"noCache": {
"type": "boolean"
"type": "boolean"
},
},
"params": {
"type": "string"
},
"parentId": {
"parentId": {
"type": "integer"
"type": "integer"
},
},
...
@@ -9043,9 +9114,6 @@ var doc = `{
...
@@ -9043,9 +9114,6 @@ var doc = `{
"permission": {
"permission": {
"type": "string"
"type": "string"
},
},
"roleId": {
"type": "integer"
},
"sort": {
"sort": {
"type": "integer"
"type": "integer"
},
},
...
...
docs/swagger.json
View file @
2209326d
...
@@ -3256,6 +3256,42 @@
...
@@ -3256,6 +3256,42 @@
}
}
}
}
},
},
"/api/v1/org-player/update-status"
:
{
"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.OrgTeamUserUpdateReq"
}
}
],
"responses"
:
{
"200"
:
{
"description"
:
"{
\"
code
\"
: 200,
\"
message
\"
:
\"
修改成功
\"
}"
,
"schema"
:
{
"type"
:
"string"
}
}
}
}
},
"/api/v1/org-player/{id}"
:
{
"/api/v1/org-player/{id}"
:
{
"get"
:
{
"get"
:
{
"security"
:
[
"security"
:
[
...
@@ -4313,6 +4349,42 @@
...
@@ -4313,6 +4349,42 @@
}
}
}
}
},
},
"/api/v1/org-team-user/update-status"
:
{
"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.OrgTeamUserUpdateReq"
}
}
],
"responses"
:
{
"200"
:
{
"description"
:
"{
\"
code
\"
: 200,
\"
message
\"
:
\"
修改成功
\"
}"
,
"schema"
:
{
"type"
:
"string"
}
}
}
}
},
"/api/v1/org-team-user/{id}"
:
{
"/api/v1/org-team-user/{id}"
:
{
"get"
:
{
"get"
:
{
"security"
:
[
"security"
:
[
...
@@ -7404,6 +7476,10 @@
...
@@ -7404,6 +7476,10 @@
"shareConf"
:
{
"shareConf"
:
{
"type"
:
"string"
"type"
:
"string"
},
},
"status"
:
{
"description"
:
"状态 1 离队 2 在队"
,
"type"
:
"string"
},
"teamId"
:
{
"teamId"
:
{
"type"
:
"string"
"type"
:
"string"
},
},
...
@@ -7832,6 +7908,10 @@
...
@@ -7832,6 +7908,10 @@
"signImg"
:
{
"signImg"
:
{
"type"
:
"string"
"type"
:
"string"
},
},
"status"
:
{
"description"
:
"状态 1 离职 2 在职"
,
"type"
:
"string"
},
"teamId"
:
{
"teamId"
:
{
"type"
:
"string"
"type"
:
"string"
},
},
...
@@ -8727,7 +8807,7 @@
...
@@ -8727,7 +8807,7 @@
},
},
"status"
:
{
"status"
:
{
"type"
:
"string"
,
"type"
:
"string"
,
"default"
:
"
1
"
"default"
:
"
2
"
},
},
"updateBy"
:
{
"updateBy"
:
{
"type"
:
"integer"
"type"
:
"integer"
...
@@ -8779,7 +8859,7 @@
...
@@ -8779,7 +8859,7 @@
},
},
"status"
:
{
"status"
:
{
"type"
:
"string"
,
"type"
:
"string"
,
"default"
:
"
1
"
"default"
:
"
2
"
},
},
"updateBy"
:
{
"updateBy"
:
{
"type"
:
"integer"
"type"
:
"integer"
...
@@ -8908,12 +8988,21 @@
...
@@ -8908,12 +8988,21 @@
"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"
...
@@ -8933,6 +9022,9 @@
...
@@ -8933,6 +9022,9 @@
"description"
:
"负责人"
,
"description"
:
"负责人"
,
"type"
:
"string"
"type"
:
"string"
},
},
"params"
:
{
"type"
:
"string"
},
"parentId"
:
{
"parentId"
:
{
"description"
:
"上级部门"
,
"description"
:
"上级部门"
,
"type"
:
"integer"
"type"
:
"integer"
...
@@ -8963,21 +9055,9 @@
...
@@ -8963,21 +9055,9 @@
"action"
:
{
"action"
:
{
"type"
:
"string"
"type"
:
"string"
},
},
"apis"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"integer"
}
},
"breadcrumb"
:
{
"breadcrumb"
:
{
"type"
:
"string"
"type"
:
"string"
},
},
"children"
:
{
"type"
:
"array"
,
"items"
:
{
"$ref"
:
"#/definitions/models.SysMenu"
}
},
"component"
:
{
"component"
:
{
"type"
:
"string"
"type"
:
"string"
},
},
...
@@ -8987,18 +9067,12 @@
...
@@ -8987,18 +9067,12 @@
"createdAt"
:
{
"createdAt"
:
{
"type"
:
"string"
"type"
:
"string"
},
},
"dataScope"
:
{
"type"
:
"string"
},
"icon"
:
{
"icon"
:
{
"type"
:
"string"
"type"
:
"string"
},
},
"isFrame"
:
{
"isFrame"
:
{
"type"
:
"string"
"type"
:
"string"
},
},
"is_select"
:
{
"type"
:
"boolean"
},
"menuId"
:
{
"menuId"
:
{
"type"
:
"integer"
"type"
:
"integer"
},
},
...
@@ -9011,9 +9085,6 @@
...
@@ -9011,9 +9085,6 @@
"noCache"
:
{
"noCache"
:
{
"type"
:
"boolean"
"type"
:
"boolean"
},
},
"params"
:
{
"type"
:
"string"
},
"parentId"
:
{
"parentId"
:
{
"type"
:
"integer"
"type"
:
"integer"
},
},
...
@@ -9026,9 +9097,6 @@
...
@@ -9026,9 +9097,6 @@
"permission"
:
{
"permission"
:
{
"type"
:
"string"
"type"
:
"string"
},
},
"roleId"
:
{
"type"
:
"integer"
},
"sort"
:
{
"sort"
:
{
"type"
:
"integer"
"type"
:
"integer"
},
},
...
...
docs/swagger.yaml
View file @
2209326d
...
@@ -658,6 +658,9 @@ definitions:
...
@@ -658,6 +658,9 @@ definitions:
type
:
string
type
:
string
shareConf
:
shareConf
:
type
:
string
type
:
string
status
:
description
:
状态 1 离队 2 在队
type
:
string
teamId
:
teamId
:
type
:
string
type
:
string
updateBy
:
updateBy
:
...
@@ -942,6 +945,9 @@ definitions:
...
@@ -942,6 +945,9 @@ definitions:
type
:
string
type
:
string
signImg
:
signImg
:
type
:
string
type
:
string
status
:
description
:
状态 1 离职 2 在职
type
:
string
teamId
:
teamId
:
type
:
string
type
:
string
updateBy
:
updateBy
:
...
@@ -1552,7 +1558,7 @@ definitions:
...
@@ -1552,7 +1558,7 @@ definitions:
sex
:
sex
:
type
:
string
type
:
string
status
:
status
:
default
:
"
1
"
default
:
"
2
"
type
:
string
type
:
string
updateBy
:
updateBy
:
type
:
integer
type
:
integer
...
@@ -1587,7 +1593,7 @@ definitions:
...
@@ -1587,7 +1593,7 @@ definitions:
sex
:
sex
:
type
:
string
type
:
string
status
:
status
:
default
:
"
1
"
default
:
"
2
"
type
:
string
type
:
string
updateBy
:
updateBy
:
type
:
integer
type
:
integer
...
@@ -1674,10 +1680,16 @@ definitions:
...
@@ -1674,10 +1680,16 @@ 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
...
@@ -1692,6 +1704,8 @@ definitions:
...
@@ -1692,6 +1704,8 @@ definitions:
leader
:
leader
:
description
:
负责人
description
:
负责人
type
:
string
type
:
string
params
:
type
:
string
parentId
:
parentId
:
description
:
上级部门
description
:
上级部门
type
:
integer
type
:
integer
...
@@ -1713,28 +1727,16 @@ definitions:
...
@@ -1713,28 +1727,16 @@ definitions:
properties
:
properties
:
action
:
action
:
type
:
string
type
:
string
apis
:
items
:
type
:
integer
type
:
array
breadcrumb
:
breadcrumb
:
type
:
string
type
:
string
children
:
items
:
$ref
:
'
#/definitions/models.SysMenu'
type
:
array
component
:
component
:
type
:
string
type
:
string
createBy
:
createBy
:
type
:
integer
type
:
integer
createdAt
:
createdAt
:
type
:
string
type
:
string
dataScope
:
type
:
string
icon
:
icon
:
type
:
string
type
:
string
is_select
:
type
:
boolean
isFrame
:
isFrame
:
type
:
string
type
:
string
menuId
:
menuId
:
...
@@ -1745,8 +1747,6 @@ definitions:
...
@@ -1745,8 +1747,6 @@ definitions:
type
:
string
type
:
string
noCache
:
noCache
:
type
:
boolean
type
:
boolean
params
:
type
:
string
parentId
:
parentId
:
type
:
integer
type
:
integer
path
:
path
:
...
@@ -1755,8 +1755,6 @@ definitions:
...
@@ -1755,8 +1755,6 @@ definitions:
type
:
string
type
:
string
permission
:
permission
:
type
:
string
type
:
string
roleId
:
type
:
integer
sort
:
sort
:
type
:
integer
type
:
integer
sysApi
:
sysApi
:
...
@@ -4003,6 +4001,28 @@ paths:
...
@@ -4003,6 +4001,28 @@ paths:
summary
:
<球队>修改球员
summary
:
<球队>修改球员
tags
:
tags
:
-
<球队>球员
-
<球队>球员
/api/v1/org-player/update-status
:
put
:
consumes
:
-
application/json
description
:
<球队>修改球员状态
parameters
:
-
description
:
body
in
:
body
name
:
data
required
:
true
schema
:
$ref
:
'
#/definitions/dto.OrgTeamUserUpdateReq'
responses
:
"
200"
:
description
:
'
{"code":
200,
"message":
"修改成功"}'
schema
:
type
:
string
security
:
-
Bearer
:
[]
summary
:
<球队>修改球员状态
tags
:
-
<球队>工作人员
/api/v1/org-season
:
/api/v1/org-season
:
delete
:
delete
:
description
:
删除赛季
description
:
删除赛季
...
@@ -4650,6 +4670,28 @@ paths:
...
@@ -4650,6 +4670,28 @@ paths:
summary
:
<球队>修改工作人员
summary
:
<球队>修改工作人员
tags
:
tags
:
-
<球队>工作人员
-
<球队>工作人员
/api/v1/org-team-user/update-status
:
put
:
consumes
:
-
application/json
description
:
<球队>修改工作人员
parameters
:
-
description
:
body
in
:
body
name
:
data
required
:
true
schema
:
$ref
:
'
#/definitions/dto.OrgTeamUserUpdateReq'
responses
:
"
200"
:
description
:
'
{"code":
200,
"message":
"修改成功"}'
schema
:
type
:
string
security
:
-
Bearer
:
[]
summary
:
<球队>修改工作人员
tags
:
-
<球队>工作人员
/api/v1/org-team/{id}
:
/api/v1/org-team/{id}
:
get
:
get
:
description
:
<球队>获取球队
description
:
<球队>获取球队
...
...
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