Commit 914cecaa authored by haoyanbin's avatar haoyanbin

no message

parent b17ad4e2
...@@ -27,6 +27,7 @@ type OrgTeamUser struct { ...@@ -27,6 +27,7 @@ type OrgTeamUser struct {
// @Tags <球队>工作人员 // @Tags <球队>工作人员
// @Param pageSize query int false "页条数" // @Param pageSize query int false "页条数"
// @Param pageIndex query int false "页码" // @Param pageIndex query int false "页码"
// @Param data body dto.OrgTeamUserGetPageReq true "data"
// @Success 200 {string} string "{"code": 200, "data": [...]}" // @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/org-team-user [get] // @Router /api/v1/org-team-user [get]
// @Security Bearer // @Security Bearer
......
...@@ -10,7 +10,7 @@ type OrgTeamUserGetPageReq struct { ...@@ -10,7 +10,7 @@ type OrgTeamUserGetPageReq struct {
dto.Pagination `search:"-"` dto.Pagination `search:"-"`
TeamName string `form:"teamName" search:"type:contains;column:team_name;table:ot" comment:"球队名称"` //球队名称 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:"姓名"` //姓名 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 { type OrgTeamUserGetPageReply struct {
......
...@@ -2893,11 +2893,11 @@ var doc = `{ ...@@ -2893,11 +2893,11 @@ var doc = `{
"Bearer": [] "Bearer": []
} }
], ],
"description": "\u003c球队\u003e获取球员列表", "description": "\u003c俱乐部\u003e获取球员数据列表",
"tags": [ "tags": [
"\u003c球队\u003e球员" "\u003c俱乐部\u003e球员"
], ],
"summary": "\u003c球队\u003e获取球员列表", "summary": "\u003c俱乐部\u003e获取球员数据列表",
"parameters": [ "parameters": [
{ {
"type": "integer", "type": "integer",
...@@ -4089,6 +4089,15 @@ var doc = `{ ...@@ -4089,6 +4089,15 @@ var doc = `{
"description": "页码", "description": "页码",
"name": "pageIndex", "name": "pageIndex",
"in": "query" "in": "query"
},
{
"description": "data",
"name": "data",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/dto.OrgTeamUserGetPageReq"
}
} }
], ],
"responses": { "responses": {
...@@ -7226,6 +7235,29 @@ var doc = `{ ...@@ -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": { "dto.OrgTeamUserInsertReq": {
"type": "object", "type": "object",
"properties": { "properties": {
...@@ -8370,21 +8402,12 @@ var doc = `{ ...@@ -8370,21 +8402,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"
...@@ -8404,9 +8427,6 @@ var doc = `{ ...@@ -8404,9 +8427,6 @@ var doc = `{
"description": "负责人", "description": "负责人",
"type": "string" "type": "string"
}, },
"params": {
"type": "string"
},
"parentId": { "parentId": {
"description": "上级部门", "description": "上级部门",
"type": "integer" "type": "integer"
...@@ -8437,9 +8457,21 @@ var doc = `{ ...@@ -8437,9 +8457,21 @@ 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"
}, },
...@@ -8449,12 +8481,18 @@ var doc = `{ ...@@ -8449,12 +8481,18 @@ 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"
}, },
...@@ -8467,6 +8505,9 @@ var doc = `{ ...@@ -8467,6 +8505,9 @@ var doc = `{
"noCache": { "noCache": {
"type": "boolean" "type": "boolean"
}, },
"params": {
"type": "string"
},
"parentId": { "parentId": {
"type": "integer" "type": "integer"
}, },
...@@ -8479,6 +8520,9 @@ var doc = `{ ...@@ -8479,6 +8520,9 @@ var doc = `{
"permission": { "permission": {
"type": "string" "type": "string"
}, },
"roleId": {
"type": "integer"
},
"sort": { "sort": {
"type": "integer" "type": "integer"
}, },
......
...@@ -2876,11 +2876,11 @@ ...@@ -2876,11 +2876,11 @@
"Bearer": [] "Bearer": []
} }
], ],
"description": "\u003c球队\u003e获取球员列表", "description": "\u003c俱乐部\u003e获取球员数据列表",
"tags": [ "tags": [
"\u003c球队\u003e球员" "\u003c俱乐部\u003e球员"
], ],
"summary": "\u003c球队\u003e获取球员列表", "summary": "\u003c俱乐部\u003e获取球员数据列表",
"parameters": [ "parameters": [
{ {
"type": "integer", "type": "integer",
...@@ -4072,6 +4072,15 @@ ...@@ -4072,6 +4072,15 @@
"description": "页码", "description": "页码",
"name": "pageIndex", "name": "pageIndex",
"in": "query" "in": "query"
},
{
"description": "data",
"name": "data",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/dto.OrgTeamUserGetPageReq"
}
} }
], ],
"responses": { "responses": {
...@@ -7209,6 +7218,29 @@ ...@@ -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": { "dto.OrgTeamUserInsertReq": {
"type": "object", "type": "object",
"properties": { "properties": {
...@@ -8353,21 +8385,12 @@ ...@@ -8353,21 +8385,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"
...@@ -8387,9 +8410,6 @@ ...@@ -8387,9 +8410,6 @@
"description": "负责人", "description": "负责人",
"type": "string" "type": "string"
}, },
"params": {
"type": "string"
},
"parentId": { "parentId": {
"description": "上级部门", "description": "上级部门",
"type": "integer" "type": "integer"
...@@ -8420,9 +8440,21 @@ ...@@ -8420,9 +8440,21 @@
"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"
}, },
...@@ -8432,12 +8464,18 @@ ...@@ -8432,12 +8464,18 @@
"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"
}, },
...@@ -8450,6 +8488,9 @@ ...@@ -8450,6 +8488,9 @@
"noCache": { "noCache": {
"type": "boolean" "type": "boolean"
}, },
"params": {
"type": "string"
},
"parentId": { "parentId": {
"type": "integer" "type": "integer"
}, },
...@@ -8462,6 +8503,9 @@ ...@@ -8462,6 +8503,9 @@
"permission": { "permission": {
"type": "string" "type": "string"
}, },
"roleId": {
"type": "integer"
},
"sort": { "sort": {
"type": "integer" "type": "integer"
}, },
......
...@@ -632,6 +632,22 @@ definitions: ...@@ -632,6 +632,22 @@ definitions:
updateBy: updateBy:
type: integer type: integer
type: object 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: dto.OrgTeamUserInsertReq:
properties: properties:
clubId: clubId:
...@@ -1409,16 +1425,10 @@ definitions: ...@@ -1409,16 +1425,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
...@@ -1433,8 +1443,6 @@ definitions: ...@@ -1433,8 +1443,6 @@ definitions:
leader: leader:
description: 负责人 description: 负责人
type: string type: string
params:
type: string
parentId: parentId:
description: 上级部门 description: 上级部门
type: integer type: integer
...@@ -1456,16 +1464,28 @@ definitions: ...@@ -1456,16 +1464,28 @@ 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:
...@@ -1476,6 +1496,8 @@ definitions: ...@@ -1476,6 +1496,8 @@ definitions:
type: string type: string
noCache: noCache:
type: boolean type: boolean
params:
type: string
parentId: parentId:
type: integer type: integer
path: path:
...@@ -1484,6 +1506,8 @@ definitions: ...@@ -1484,6 +1506,8 @@ definitions:
type: string type: string
permission: permission:
type: string type: string
roleId:
type: integer
sort: sort:
type: integer type: integer
sysApi: sysApi:
...@@ -3472,7 +3496,7 @@ paths: ...@@ -3472,7 +3496,7 @@ paths:
tags: tags:
- <球队>球员 - <球队>球员
get: get:
description: <球队>获取球员列表 description: <俱乐部>获取球员数据列表
parameters: parameters:
- description: 页条数 - description: 页条数
in: query in: query
...@@ -3489,9 +3513,9 @@ paths: ...@@ -3489,9 +3513,9 @@ paths:
type: string type: string
security: security:
- Bearer: [] - Bearer: []
summary: <球队>获取球员列表 summary: <俱乐部>获取球员数据列表
tags: tags:
- <球队>球员 - <俱乐部>球员
post: post:
consumes: consumes:
- application/json - application/json
...@@ -4201,6 +4225,12 @@ paths: ...@@ -4201,6 +4225,12 @@ 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.OrgTeamUserGetPageReq'
responses: responses:
"200": "200":
description: '{"code": 200, "data": [...]}' description: '{"code": 200, "data": [...]}'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment