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
914cecaa
Commit
914cecaa
authored
Jan 15, 2022
by
haoyanbin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
b17ad4e2
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
161 additions
and
42 deletions
+161
-42
org_team_user.go
app/operate/apis/org_team_user.go
+1
-0
org_team_user.go
app/operate/service/dto/org_team_user.go
+1
-1
docs.go
docs/docs.go
+59
-15
swagger.json
docs/swagger.json
+59
-15
swagger.yaml
docs/swagger.yaml
+41
-11
No files found.
app/operate/apis/org_team_user.go
View file @
914cecaa
...
...
@@ -27,6 +27,7 @@ type OrgTeamUser struct {
// @Tags <球队>工作人员
// @Param pageSize query int false "页条数"
// @Param pageIndex query int false "页码"
// @Param data body dto.OrgTeamUserGetPageReq true "data"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/org-team-user [get]
// @Security Bearer
...
...
app/operate/service/dto/org_team_user.go
View file @
914cecaa
...
...
@@ -10,7 +10,7 @@ type OrgTeamUserGetPageReq struct {
dto
.
Pagination
`search:"-"`
TeamName
string
`form:"teamName" search:"type:contains;column:team_name;table:ot" comment:"球队名称"`
//球队名称
Name
string
`form:"name" search:"type:contains;column:name;table:otu" comment:"姓名"`
//姓名
Status
string
`form:"status" search:"type:exact;column:status;table:su" comment:"状态"`
//状态
Status
string
`form:"status" search:"type:exact;column:status;table:su" comment:"状态"`
//状态
1 离职 2 在职
}
type
OrgTeamUserGetPageReply
struct
{
...
...
docs/docs.go
View file @
914cecaa
...
...
@@ -2893,11 +2893,11 @@ var doc = `{
"Bearer": []
}
],
"description": "\u003c
球队\u003e获取球员
列表",
"description": "\u003c
俱乐部\u003e获取球员数据
列表",
"tags": [
"\u003c
球队
\u003e球员"
"\u003c
俱乐部
\u003e球员"
],
"summary": "\u003c
球队\u003e获取球员
列表",
"summary": "\u003c
俱乐部\u003e获取球员数据
列表",
"parameters": [
{
"type": "integer",
...
...
@@ -4089,6 +4089,15 @@ var doc = `{
"description": "页码",
"name": "pageIndex",
"in": "query"
},
{
"description": "data",
"name": "data",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/dto.OrgTeamUserGetPageReq"
}
}
],
"responses": {
...
...
@@ -7226,6 +7235,29 @@ var doc = `{
}
}
},
"dto.OrgTeamUserGetPageReq": {
"type": "object",
"properties": {
"name": {
"description": "姓名",
"type": "string"
},
"pageIndex": {
"type": "integer"
},
"pageSize": {
"type": "integer"
},
"status": {
"description": "状态 1 离职 2 在职",
"type": "string"
},
"teamName": {
"description": "球队名称",
"type": "string"
}
}
},
"dto.OrgTeamUserInsertReq": {
"type": "object",
"properties": {
...
...
@@ -8370,21 +8402,12 @@ 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"
...
...
@@ -8404,9 +8427,6 @@ var doc = `{
"description": "负责人",
"type": "string"
},
"params": {
"type": "string"
},
"parentId": {
"description": "上级部门",
"type": "integer"
...
...
@@ -8437,9 +8457,21 @@ 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"
},
...
...
@@ -8449,12 +8481,18 @@ var doc = `{
"createdAt": {
"type": "string"
},
"dataScope": {
"type": "string"
},
"icon": {
"type": "string"
},
"isFrame": {
"type": "string"
},
"is_select": {
"type": "boolean"
},
"menuId": {
"type": "integer"
},
...
...
@@ -8467,6 +8505,9 @@ var doc = `{
"noCache": {
"type": "boolean"
},
"params": {
"type": "string"
},
"parentId": {
"type": "integer"
},
...
...
@@ -8479,6 +8520,9 @@ var doc = `{
"permission": {
"type": "string"
},
"roleId": {
"type": "integer"
},
"sort": {
"type": "integer"
},
...
...
docs/swagger.json
View file @
914cecaa
...
...
@@ -2876,11 +2876,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"
:
"integer"
,
...
...
@@ -4072,6 +4072,15 @@
"description"
:
"页码"
,
"name"
:
"pageIndex"
,
"in"
:
"query"
},
{
"description"
:
"data"
,
"name"
:
"data"
,
"in"
:
"body"
,
"required"
:
true
,
"schema"
:
{
"$ref"
:
"#/definitions/dto.OrgTeamUserGetPageReq"
}
}
],
"responses"
:
{
...
...
@@ -7209,6 +7218,29 @@
}
}
},
"dto.OrgTeamUserGetPageReq"
:
{
"type"
:
"object"
,
"properties"
:
{
"name"
:
{
"description"
:
"姓名"
,
"type"
:
"string"
},
"pageIndex"
:
{
"type"
:
"integer"
},
"pageSize"
:
{
"type"
:
"integer"
},
"status"
:
{
"description"
:
"状态 1 离职 2 在职"
,
"type"
:
"string"
},
"teamName"
:
{
"description"
:
"球队名称"
,
"type"
:
"string"
}
}
},
"dto.OrgTeamUserInsertReq"
:
{
"type"
:
"object"
,
"properties"
:
{
...
...
@@ -8353,21 +8385,12 @@
"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"
...
...
@@ -8387,9 +8410,6 @@
"description"
:
"负责人"
,
"type"
:
"string"
},
"params"
:
{
"type"
:
"string"
},
"parentId"
:
{
"description"
:
"上级部门"
,
"type"
:
"integer"
...
...
@@ -8420,9 +8440,21 @@
"action"
:
{
"type"
:
"string"
},
"apis"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"integer"
}
},
"breadcrumb"
:
{
"type"
:
"string"
},
"children"
:
{
"type"
:
"array"
,
"items"
:
{
"$ref"
:
"#/definitions/models.SysMenu"
}
},
"component"
:
{
"type"
:
"string"
},
...
...
@@ -8432,12 +8464,18 @@
"createdAt"
:
{
"type"
:
"string"
},
"dataScope"
:
{
"type"
:
"string"
},
"icon"
:
{
"type"
:
"string"
},
"isFrame"
:
{
"type"
:
"string"
},
"is_select"
:
{
"type"
:
"boolean"
},
"menuId"
:
{
"type"
:
"integer"
},
...
...
@@ -8450,6 +8488,9 @@
"noCache"
:
{
"type"
:
"boolean"
},
"params"
:
{
"type"
:
"string"
},
"parentId"
:
{
"type"
:
"integer"
},
...
...
@@ -8462,6 +8503,9 @@
"permission"
:
{
"type"
:
"string"
},
"roleId"
:
{
"type"
:
"integer"
},
"sort"
:
{
"type"
:
"integer"
},
...
...
docs/swagger.yaml
View file @
914cecaa
...
...
@@ -632,6 +632,22 @@ definitions:
updateBy
:
type
:
integer
type
:
object
dto.OrgTeamUserGetPageReq
:
properties
:
name
:
description
:
姓名
type
:
string
pageIndex
:
type
:
integer
pageSize
:
type
:
integer
status
:
description
:
状态 1 离职 2 在职
type
:
string
teamName
:
description
:
球队名称
type
:
string
type
:
object
dto.OrgTeamUserInsertReq
:
properties
:
clubId
:
...
...
@@ -1409,16 +1425,10 @@ 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
...
...
@@ -1433,8 +1443,6 @@ definitions:
leader
:
description
:
负责人
type
:
string
params
:
type
:
string
parentId
:
description
:
上级部门
type
:
integer
...
...
@@ -1456,16 +1464,28 @@ 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
:
...
...
@@ -1476,6 +1496,8 @@ definitions:
type
:
string
noCache
:
type
:
boolean
params
:
type
:
string
parentId
:
type
:
integer
path
:
...
...
@@ -1484,6 +1506,8 @@ definitions:
type
:
string
permission
:
type
:
string
roleId
:
type
:
integer
sort
:
type
:
integer
sysApi
:
...
...
@@ -3472,7 +3496,7 @@ paths:
tags
:
-
<球队>球员
get
:
description
:
<
球队>获取球员
列表
description
:
<
俱乐部>获取球员数据
列表
parameters
:
-
description
:
页条数
in
:
query
...
...
@@ -3489,9 +3513,9 @@ paths:
type
:
string
security
:
-
Bearer
:
[]
summary
:
<
球队>获取球员
列表
summary
:
<
俱乐部>获取球员数据
列表
tags
:
-
<
球队
>球员
-
<
俱乐部
>球员
post
:
consumes
:
-
application/json
...
...
@@ -4201,6 +4225,12 @@ paths:
in
:
query
name
:
pageIndex
type
:
integer
-
description
:
data
in
:
body
name
:
data
required
:
true
schema
:
$ref
:
'
#/definitions/dto.OrgTeamUserGetPageReq'
responses
:
"
200"
:
description
:
'
{"code":
200,
"data":
[...]}'
...
...
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