Commit 9d2ea8af authored by haoyanbin's avatar haoyanbin

seasonId

parent 901ebaf8
...@@ -159,9 +159,10 @@ func (e OrgPlayer) GetInfo(c *gin.Context) { ...@@ -159,9 +159,10 @@ func (e OrgPlayer) GetInfo(c *gin.Context) {
return return
} }
//获取当前时间范围的赛季id
seasonId := s.GetNowSeasonId() seasonId := s.GetNowSeasonId()
reply := new(dto.OrgPlayerGetInfoReply)
reply := new(dto.OrgPlayerGetInfoReply)
reply.OrgPlayerInfo = object reply.OrgPlayerInfo = object
replyOrgMatchInfo := new(dto.OrgMatchInfo) replyOrgMatchInfo := new(dto.OrgMatchInfo)
...@@ -281,9 +282,9 @@ func (e OrgPlayer) GetOrgMatchEvaluate(c *gin.Context) { ...@@ -281,9 +282,9 @@ func (e OrgPlayer) GetOrgMatchEvaluate(c *gin.Context) {
e.OK(reply, "查询成功") e.OK(reply, "查询成功")
} }
// Get <手机端>获取球员精彩时刻 // Get <手机端>精彩时刻比赛轮次列表
// @Summary <手机端>获取球员精彩时刻 // @Summary <手机端>精彩时刻比赛轮次列表
// @Description <手机端>获取球员精彩时刻 // @Description <手机端>精彩时刻比赛轮次列表
// @Tags <手机端>球员数据 // @Tags <手机端>球员数据
// @Param playerId path string false "playerId" // @Param playerId path string false "playerId"
// @Success 200 {string} string "{"code": 200, "data": [...]}" // @Success 200 {string} string "{"code": 200, "data": [...]}"
......
...@@ -6813,11 +6813,11 @@ var doc = `{ ...@@ -6813,11 +6813,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": "string", "type": "string",
...@@ -9640,12 +9640,21 @@ var doc = `{ ...@@ -9640,12 +9640,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"
...@@ -9665,6 +9674,9 @@ var doc = `{ ...@@ -9665,6 +9674,9 @@ var doc = `{
"description": "负责人", "description": "负责人",
"type": "string" "type": "string"
}, },
"params": {
"type": "string"
},
"parentId": { "parentId": {
"description": "上级部门", "description": "上级部门",
"type": "integer" "type": "integer"
......
...@@ -6796,11 +6796,11 @@ ...@@ -6796,11 +6796,11 @@
"Bearer": [] "Bearer": []
} }
], ],
"description": "\u003c手机端\u003e获取球员精彩时刻", "description": "\u003c手机端\u003e精彩时刻比赛轮次列表",
"tags": [ "tags": [
"\u003c手机端\u003e球员数据" "\u003c手机端\u003e球员数据"
], ],
"summary": "\u003c手机端\u003e获取球员精彩时刻", "summary": "\u003c手机端\u003e精彩时刻比赛轮次列表",
"parameters": [ "parameters": [
{ {
"type": "string", "type": "string",
...@@ -9623,12 +9623,21 @@ ...@@ -9623,12 +9623,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"
...@@ -9648,6 +9657,9 @@ ...@@ -9648,6 +9657,9 @@
"description": "负责人", "description": "负责人",
"type": "string" "type": "string"
}, },
"params": {
"type": "string"
},
"parentId": { "parentId": {
"description": "上级部门", "description": "上级部门",
"type": "integer" "type": "integer"
......
...@@ -1841,10 +1841,16 @@ definitions: ...@@ -1841,10 +1841,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
...@@ -1859,6 +1865,8 @@ definitions: ...@@ -1859,6 +1865,8 @@ definitions:
leader: leader:
description: 负责人 description: 负责人
type: string type: string
params:
type: string
parentId: parentId:
description: 上级部门 description: 上级部门
type: integer type: integer
...@@ -6309,7 +6317,7 @@ paths: ...@@ -6309,7 +6317,7 @@ paths:
- <手机端>球员数据 - <手机端>球员数据
/mobile/v1/org-player/get-rounds: /mobile/v1/org-player/get-rounds:
get: get:
description: <手机端>获取球员精彩时刻 description: <手机端>精彩时刻比赛轮次列表
parameters: parameters:
- description: playerId - description: playerId
in: path in: path
...@@ -6322,7 +6330,7 @@ paths: ...@@ -6322,7 +6330,7 @@ paths:
type: string type: string
security: security:
- Bearer: [] - Bearer: []
summary: <手机端>获取球员精彩时刻 summary: <手机端>精彩时刻比赛轮次列表
tags: tags:
- <手机端>球员数据 - <手机端>球员数据
/mobile/v1/org-player/info/{id}: /mobile/v1/org-player/info/{id}:
......
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