diff --git a/app/operate/apis/org_team_user.go b/app/operate/apis/org_team_user.go index e875c7e6f913e5d5ded2f3a4e66d6760d78c4841..70c994d4054b144362cbca2caca5b835b50ae8f7 100644 --- a/app/operate/apis/org_team_user.go +++ b/app/operate/apis/org_team_user.go @@ -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 diff --git a/app/operate/service/dto/org_team_user.go b/app/operate/service/dto/org_team_user.go index 40d5b7e2474da2d2521ddc09e0d76b638341f8f8..ddf9100a7eff16d3caaa941e82f0de0fc5b2f3f5 100644 --- a/app/operate/service/dto/org_team_user.go +++ b/app/operate/service/dto/org_team_user.go @@ -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 { diff --git a/docs/docs.go b/docs/docs.go index d4c4d6e2a4b7dc17c752ee59db0efa8309268e03..0edb74bc3396926f79276f470f8dc848c6662139 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -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" }, diff --git a/docs/swagger.json b/docs/swagger.json index 970f677a09951b5fccc336f4cd11bf0881815ed8..51f6c0d49c9de3debc4790a1b89275db20f5c55f 100644 --- a/docs/swagger.json +++ b/docs/swagger.json @@ -2876,11 +2876,11 @@ "Bearer": [] } ], - "description": "\u003c鐞冮槦\u003e鑾峰彇鐞冨憳鍒楄〃", + "description": "\u003c淇变箰閮╘u003e鑾峰彇鐞冨憳鏁版嵁鍒楄〃", "tags": [ - "\u003c鐞冮槦\u003e鐞冨憳" + "\u003c淇变箰閮╘u003e鐞冨憳" ], - "summary": "\u003c鐞冮槦\u003e鑾峰彇鐞冨憳鍒楄〃", + "summary": "\u003c淇变箰閮╘u003e鑾峰彇鐞冨憳鏁版嵁鍒楄〃", "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" }, diff --git a/docs/swagger.yaml b/docs/swagger.yaml index be533a0992ca09ae79535a22c1b7063dba9bf8f9..feacdcf326dd9e871e1bf5653b0de0be0b4e1ca5 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -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": [...]}'