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
3 years ago
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 = `{
}
}
},
"/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}": {
"get": {
"security": [
...
...
@@ -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}": {
"get": {
"security": [
...
...
@@ -7421,6 +7493,10 @@ var doc = `{
"shareConf": {
"type": "string"
},
"status": {
"description": "状态 1 离队 2 在队",
"type": "string"
},
"teamId": {
"type": "string"
},
...
...
@@ -7849,6 +7925,10 @@ var doc = `{
"signImg": {
"type": "string"
},
"status": {
"description": "状态 1 离职 2 在职",
"type": "string"
},
"teamId": {
"type": "string"
},
...
...
@@ -8744,7 +8824,7 @@ var doc = `{
},
"status": {
"type": "string",
"default": "
1
"
"default": "
2
"
},
"updateBy": {
"type": "integer"
...
...
@@ -8796,7 +8876,7 @@ var doc = `{
},
"status": {
"type": "string",
"default": "
1
"
"default": "
2
"
},
"updateBy": {
"type": "integer"
...
...
@@ -8925,12 +9005,21 @@ var doc = `{
"models.SysDept": {
"type": "object",
"properties": {
"children": {
"type": "array",
"items": {
"$ref": "#/definitions/models.SysDept"
}
},
"createBy": {
"type": "integer"
},
"createdAt": {
"type": "string"
},
"dataScope": {
"type": "string"
},
"deptId": {
"description": "部门编码",
"type": "integer"
...
...
@@ -8950,6 +9039,9 @@ var doc = `{
"description": "负责人",
"type": "string"
},
"params": {
"type": "string"
},
"parentId": {
"description": "上级部门",
"type": "integer"
...
...
@@ -8980,21 +9072,9 @@ var doc = `{
"action": {
"type": "string"
},
"apis": {
"type": "array",
"items": {
"type": "integer"
}
},
"breadcrumb": {
"type": "string"
},
"children": {
"type": "array",
"items": {
"$ref": "#/definitions/models.SysMenu"
}
},
"component": {
"type": "string"
},
...
...
@@ -9004,18 +9084,12 @@ var doc = `{
"createdAt": {
"type": "string"
},
"dataScope": {
"type": "string"
},
"icon": {
"type": "string"
},
"isFrame": {
"type": "string"
},
"is_select": {
"type": "boolean"
},
"menuId": {
"type": "integer"
},
...
...
@@ -9028,9 +9102,6 @@ var doc = `{
"noCache": {
"type": "boolean"
},
"params": {
"type": "string"
},
"parentId": {
"type": "integer"
},
...
...
@@ -9043,9 +9114,6 @@ var doc = `{
"permission": {
"type": "string"
},
"roleId": {
"type": "integer"
},
"sort": {
"type": "integer"
},
...
...
This diff is collapsed.
Click to expand it.
docs/swagger.json
View file @
2209326d
...
...
@@ -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}"
:
{
"get"
:
{
"security"
:
[
...
...
@@ -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}"
:
{
"get"
:
{
"security"
:
[
...
...
@@ -7404,6 +7476,10 @@
"shareConf"
:
{
"type"
:
"string"
},
"status"
:
{
"description"
:
"状态 1 离队 2 在队"
,
"type"
:
"string"
},
"teamId"
:
{
"type"
:
"string"
},
...
...
@@ -7832,6 +7908,10 @@
"signImg"
:
{
"type"
:
"string"
},
"status"
:
{
"description"
:
"状态 1 离职 2 在职"
,
"type"
:
"string"
},
"teamId"
:
{
"type"
:
"string"
},
...
...
@@ -8727,7 +8807,7 @@
},
"status"
:
{
"type"
:
"string"
,
"default"
:
"
1
"
"default"
:
"
2
"
},
"updateBy"
:
{
"type"
:
"integer"
...
...
@@ -8779,7 +8859,7 @@
},
"status"
:
{
"type"
:
"string"
,
"default"
:
"
1
"
"default"
:
"
2
"
},
"updateBy"
:
{
"type"
:
"integer"
...
...
@@ -8908,12 +8988,21 @@
"models.SysDept"
:
{
"type"
:
"object"
,
"properties"
:
{
"children"
:
{
"type"
:
"array"
,
"items"
:
{
"$ref"
:
"#/definitions/models.SysDept"
}
},
"createBy"
:
{
"type"
:
"integer"
},
"createdAt"
:
{
"type"
:
"string"
},
"dataScope"
:
{
"type"
:
"string"
},
"deptId"
:
{
"description"
:
"部门编码"
,
"type"
:
"integer"
...
...
@@ -8933,6 +9022,9 @@
"description"
:
"负责人"
,
"type"
:
"string"
},
"params"
:
{
"type"
:
"string"
},
"parentId"
:
{
"description"
:
"上级部门"
,
"type"
:
"integer"
...
...
@@ -8963,21 +9055,9 @@
"action"
:
{
"type"
:
"string"
},
"apis"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"integer"
}
},
"breadcrumb"
:
{
"type"
:
"string"
},
"children"
:
{
"type"
:
"array"
,
"items"
:
{
"$ref"
:
"#/definitions/models.SysMenu"
}
},
"component"
:
{
"type"
:
"string"
},
...
...
@@ -8987,18 +9067,12 @@
"createdAt"
:
{
"type"
:
"string"
},
"dataScope"
:
{
"type"
:
"string"
},
"icon"
:
{
"type"
:
"string"
},
"isFrame"
:
{
"type"
:
"string"
},
"is_select"
:
{
"type"
:
"boolean"
},
"menuId"
:
{
"type"
:
"integer"
},
...
...
@@ -9011,9 +9085,6 @@
"noCache"
:
{
"type"
:
"boolean"
},
"params"
:
{
"type"
:
"string"
},
"parentId"
:
{
"type"
:
"integer"
},
...
...
@@ -9026,9 +9097,6 @@
"permission"
:
{
"type"
:
"string"
},
"roleId"
:
{
"type"
:
"integer"
},
"sort"
:
{
"type"
:
"integer"
},
...
...
This diff is collapsed.
Click to expand it.
docs/swagger.yaml
View file @
2209326d
...
...
@@ -658,6 +658,9 @@ definitions:
type
:
string
shareConf
:
type
:
string
status
:
description
:
状态 1 离队 2 在队
type
:
string
teamId
:
type
:
string
updateBy
:
...
...
@@ -942,6 +945,9 @@ definitions:
type
:
string
signImg
:
type
:
string
status
:
description
:
状态 1 离职 2 在职
type
:
string
teamId
:
type
:
string
updateBy
:
...
...
@@ -1552,7 +1558,7 @@ definitions:
sex
:
type
:
string
status
:
default
:
"
1
"
default
:
"
2
"
type
:
string
updateBy
:
type
:
integer
...
...
@@ -1587,7 +1593,7 @@ definitions:
sex
:
type
:
string
status
:
default
:
"
1
"
default
:
"
2
"
type
:
string
updateBy
:
type
:
integer
...
...
@@ -1674,10 +1680,16 @@ definitions:
type
:
object
models.SysDept
:
properties
:
children
:
items
:
$ref
:
'
#/definitions/models.SysDept'
type
:
array
createBy
:
type
:
integer
createdAt
:
type
:
string
dataScope
:
type
:
string
deptId
:
description
:
部门编码
type
:
integer
...
...
@@ -1692,6 +1704,8 @@ definitions:
leader
:
description
:
负责人
type
:
string
params
:
type
:
string
parentId
:
description
:
上级部门
type
:
integer
...
...
@@ -1713,28 +1727,16 @@ definitions:
properties
:
action
:
type
:
string
apis
:
items
:
type
:
integer
type
:
array
breadcrumb
:
type
:
string
children
:
items
:
$ref
:
'
#/definitions/models.SysMenu'
type
:
array
component
:
type
:
string
createBy
:
type
:
integer
createdAt
:
type
:
string
dataScope
:
type
:
string
icon
:
type
:
string
is_select
:
type
:
boolean
isFrame
:
type
:
string
menuId
:
...
...
@@ -1745,8 +1747,6 @@ definitions:
type
:
string
noCache
:
type
:
boolean
params
:
type
:
string
parentId
:
type
:
integer
path
:
...
...
@@ -1755,8 +1755,6 @@ definitions:
type
:
string
permission
:
type
:
string
roleId
:
type
:
integer
sort
:
type
:
integer
sysApi
:
...
...
@@ -4003,6 +4001,28 @@ paths:
summary
:
<球队>修改球员
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
:
delete
:
description
:
删除赛季
...
...
@@ -4650,6 +4670,28 @@ paths:
summary
:
<球队>修改工作人员
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}
:
get
:
description
:
<球队>获取球队
...
...
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