Commit f214784a authored by haoyanbin's avatar haoyanbin

Swag

parent 3543a7ff
...@@ -23,7 +23,7 @@ type OrgTeamMatch struct { ...@@ -23,7 +23,7 @@ type OrgTeamMatch struct {
// GetPage <球队>获取比赛列表 // GetPage <球队>获取比赛列表
// @Summary <球队>获取比赛列表 // @Summary <球队>获取比赛列表
// @Description <球队>获取比赛列表 // @Description <球队>获取比赛列表
// @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.OrgTeamMatchGetPageReq true "data" // @Param data body dto.OrgTeamMatchGetPageReq true "data"
...@@ -75,7 +75,7 @@ func (e OrgTeamMatch) GetPage(c *gin.Context) { ...@@ -75,7 +75,7 @@ func (e OrgTeamMatch) GetPage(c *gin.Context) {
// Get <球队>获取比赛所有球员 // Get <球队>获取比赛所有球员
// @Summary <球队>获取比赛所有球员 // @Summary <球队>获取比赛所有球员
// @Description <球队>获取比赛所有球员 // @Description <球队>获取比赛所有球员
// @Tags <球队>比赛 // @Tags <球队>比赛管理
// @Param id path string false "id" // @Param id path string false "id"
// @Success 200 {string} string {data=models.OrgMatch} "{"code": 200, "data": [...]}" // @Success 200 {string} string {data=models.OrgMatch} "{"code": 200, "data": [...]}"
// @Router /api/v1/org-team-match/get-players [get] // @Router /api/v1/org-team-match/get-players [get]
...@@ -113,7 +113,7 @@ func (e OrgTeamMatch) GetPlayers(c *gin.Context) { ...@@ -113,7 +113,7 @@ func (e OrgTeamMatch) GetPlayers(c *gin.Context) {
// Get <球队>获取比赛已设置球员 // Get <球队>获取比赛已设置球员
// @Summary <球队>获取比赛已设置球员 // @Summary <球队>获取比赛已设置球员
// @Description <球队>获取比赛已设置球员 // @Description <球队>获取比赛已设置球员
// @Tags <球队>比赛 // @Tags <球队>比赛管理
// @Param id path string false "id" // @Param id path string false "id"
// @Success 200 {string} string {data=models.OrgMatch} "{"code": 200, "data": [...]}" // @Success 200 {string} string {data=models.OrgMatch} "{"code": 200, "data": [...]}"
// @Router /api/v1/org-team-match/get-players-is-set [get] // @Router /api/v1/org-team-match/get-players-is-set [get]
...@@ -151,7 +151,7 @@ func (e OrgTeamMatch) GetPlayersIsSet(c *gin.Context) { ...@@ -151,7 +151,7 @@ func (e OrgTeamMatch) GetPlayersIsSet(c *gin.Context) {
// Update <球队>修改比赛球员 // Update <球队>修改比赛球员
// @Summary <球队>修改比赛球员 // @Summary <球队>修改比赛球员
// @Description <球队>修改比赛球员 // @Description <球队>修改比赛球员
// @Tags <球队>比赛 // @Tags <球队>比赛管理
// @Accept application/json // @Accept application/json
// @Product application/json // @Product application/json
// @Param data body dto.OrgMatchUpdateReq true "body" // @Param data body dto.OrgMatchUpdateReq true "body"
...@@ -261,13 +261,13 @@ func (e OrgTeamMatch) UpdatePlayers(c *gin.Context) { ...@@ -261,13 +261,13 @@ func (e OrgTeamMatch) UpdatePlayers(c *gin.Context) {
e.OK(1, "修改成功") e.OK(1, "修改成功")
} }
// Get <赛事>获取比赛附加数据(比赛详情,联赛,赛区,赛季,球队) // Get <球队>获取比赛附加数据(比赛详情,联赛,赛区,赛季,球队)
// @Summary <赛事>获取比赛附加数据(比赛详情,联赛,赛区,赛季,球队) // @Summary <球队>获取比赛附加数据(比赛详情,联赛,赛区,赛季,球队)
// @Description <赛事>获取比赛附加数据(比赛详情,联赛,赛区,赛季,球队) // @Description <球队>获取比赛附加数据(比赛详情,联赛,赛区,赛季,球队)
// @Tags <赛事>比赛 // @Tags <球队>比赛管理
// @Param id path string false "id" // @Param id path string false "id"
// @Success 200 {string} string {data=models.OrgMatchGetInfoReq} "{"code": 200, "data": [...]}" // @Success 200 {string} string {data=models.OrgMatchGetInfoReq} "{"code": 200, "data": [...]}"
// @Router /api/v1/org-team-match/info/{id} [get] // @Router /api/v1/org-team-match/info [get]
// @Security Bearer // @Security Bearer
func (e OrgTeamMatch) GetInfo(c *gin.Context) { func (e OrgTeamMatch) GetInfo(c *gin.Context) {
req := dto.OrgMatchGetInfoReq{} req := dto.OrgMatchGetInfoReq{}
......
...@@ -64,7 +64,6 @@ func (e OrgTeamTeam) GetPage(c *gin.Context) { ...@@ -64,7 +64,6 @@ func (e OrgTeamTeam) GetPage(c *gin.Context) {
// @Tags <球队>球队表现 // @Tags <球队>球队表现
// @Param pageSize query int false "页条数" // @Param pageSize query int false "页条数"
// @Param pageIndex query int false "页码" // @Param pageIndex query int false "页码"
// @Param teamId query int false "球队id"
// @Success 200 {string} string "{"code": 200, "data": [...]}" // @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/org-team-team/get-match [get] // @Router /api/v1/org-team-team/get-match [get]
// @Security Bearer // @Security Bearer
......
...@@ -1984,11 +1984,11 @@ var doc = `{ ...@@ -1984,11 +1984,11 @@ var doc = `{
"Bearer": [] "Bearer": []
} }
], ],
"description": "\u003c赛事\u003e获取联赛列表", "description": "获取联赛列表",
"tags": [ "tags": [
"\u003c赛事\u003e联赛" "联赛"
], ],
"summary": "\u003c赛事\u003e获取联赛列表", "summary": "获取联赛列表",
"parameters": [ "parameters": [
{ {
"type": "integer", "type": "integer",
...@@ -2001,15 +2001,6 @@ var doc = `{ ...@@ -2001,15 +2001,6 @@ var doc = `{
"description": "页码", "description": "页码",
"name": "pageIndex", "name": "pageIndex",
"in": "query" "in": "query"
},
{
"description": "data",
"name": "data",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/dto.OrgLeagueGetPageReq"
}
} }
], ],
"responses": { "responses": {
...@@ -2027,14 +2018,14 @@ var doc = `{ ...@@ -2027,14 +2018,14 @@ var doc = `{
"Bearer": [] "Bearer": []
} }
], ],
"description": "\u003c赛事\u003e创建联赛", "description": "创建联赛",
"consumes": [ "consumes": [
"application/json" "application/json"
], ],
"tags": [ "tags": [
"\u003c赛事\u003e联赛" "联赛"
], ],
"summary": "\u003c赛事\u003e创建联赛", "summary": "创建联赛",
"parameters": [ "parameters": [
{ {
"description": "data", "description": "data",
...@@ -2061,11 +2052,11 @@ var doc = `{ ...@@ -2061,11 +2052,11 @@ var doc = `{
"Bearer": [] "Bearer": []
} }
], ],
"description": "\u003c赛事\u003e删除联赛", "description": "删除联赛",
"tags": [ "tags": [
"\u003c赛事\u003e联赛" "联赛"
], ],
"summary": "\u003c赛事\u003e删除联赛", "summary": "删除联赛",
"parameters": [ "parameters": [
{ {
"description": "ids", "description": "ids",
...@@ -2096,11 +2087,11 @@ var doc = `{ ...@@ -2096,11 +2087,11 @@ var doc = `{
"Bearer": [] "Bearer": []
} }
], ],
"description": "\u003c赛事\u003e获取联赛", "description": "获取联赛",
"tags": [ "tags": [
"\u003c赛事\u003e联赛" "联赛"
], ],
"summary": "\u003c赛事\u003e获取联赛", "summary": "获取联赛",
"parameters": [ "parameters": [
{ {
"type": "string", "type": "string",
...@@ -2124,14 +2115,14 @@ var doc = `{ ...@@ -2124,14 +2115,14 @@ var doc = `{
"Bearer": [] "Bearer": []
} }
], ],
"description": "\u003c赛事\u003e修改联赛", "description": "修改联赛",
"consumes": [ "consumes": [
"application/json" "application/json"
], ],
"tags": [ "tags": [
"\u003c赛事\u003e联赛" "联赛"
], ],
"summary": "\u003c赛事\u003e修改联赛", "summary": "修改联赛",
"parameters": [ "parameters": [
{ {
"description": "body", "description": "body",
...@@ -3743,7 +3734,7 @@ var doc = `{ ...@@ -3743,7 +3734,7 @@ var doc = `{
], ],
"description": "\u003c球队\u003e获取比赛列表", "description": "\u003c球队\u003e获取比赛列表",
"tags": [ "tags": [
"\u003c球队\u003e比赛" "\u003c球队\u003e比赛管理"
], ],
"summary": "\u003c球队\u003e获取比赛列表", "summary": "\u003c球队\u003e获取比赛列表",
"parameters": [ "parameters": [
...@@ -3924,7 +3915,7 @@ var doc = `{ ...@@ -3924,7 +3915,7 @@ var doc = `{
], ],
"description": "\u003c球队\u003e获取比赛所有球员", "description": "\u003c球队\u003e获取比赛所有球员",
"tags": [ "tags": [
"\u003c球队\u003e比赛" "\u003c球队\u003e比赛管理"
], ],
"summary": "\u003c球队\u003e获取比赛所有球员", "summary": "\u003c球队\u003e获取比赛所有球员",
"parameters": [ "parameters": [
...@@ -3954,7 +3945,7 @@ var doc = `{ ...@@ -3954,7 +3945,7 @@ var doc = `{
], ],
"description": "\u003c球队\u003e获取比赛已设置球员", "description": "\u003c球队\u003e获取比赛已设置球员",
"tags": [ "tags": [
"\u003c球队\u003e比赛" "\u003c球队\u003e比赛管理"
], ],
"summary": "\u003c球队\u003e获取比赛已设置球员", "summary": "\u003c球队\u003e获取比赛已设置球员",
"parameters": [ "parameters": [
...@@ -3975,18 +3966,18 @@ var doc = `{ ...@@ -3975,18 +3966,18 @@ var doc = `{
} }
} }
}, },
"/api/v1/org-team-match/info/{id}": { "/api/v1/org-team-match/info": {
"get": { "get": {
"security": [ "security": [
{ {
"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",
...@@ -4017,7 +4008,7 @@ var doc = `{ ...@@ -4017,7 +4008,7 @@ var doc = `{
"application/json" "application/json"
], ],
"tags": [ "tags": [
"\u003c球队\u003e比赛" "\u003c球队\u003e比赛管理"
], ],
"summary": "\u003c球队\u003e修改比赛球员", "summary": "\u003c球队\u003e修改比赛球员",
"parameters": [ "parameters": [
...@@ -4883,6 +4874,51 @@ var doc = `{ ...@@ -4883,6 +4874,51 @@ var doc = `{
} }
} }
}, },
"/api/v1/org/upload": {
"post": {
"security": [
{
"Bearer": []
}
],
"description": "\u003c俱乐部\u003e获取俱乐部列表",
"tags": [
"\u003c俱乐部\u003e俱乐部"
],
"summary": "\u003c俱乐部\u003e获取俱乐部列表",
"parameters": [
{
"type": "integer",
"description": "页条数",
"name": "pageSize",
"in": "query"
},
{
"type": "integer",
"description": "页码",
"name": "pageIndex",
"in": "query"
},
{
"description": "data",
"name": "data",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/dto.OrgClubGetPageReq"
}
}
],
"responses": {
"200": {
"description": "{\"code\": 200, \"data\": [...]}",
"schema": {
"type": "string"
}
}
}
}
},
"/api/v1/post": { "/api/v1/post": {
"get": { "get": {
"security": [ "security": [
...@@ -6554,6 +6590,87 @@ var doc = `{ ...@@ -6554,6 +6590,87 @@ var doc = `{
} }
} }
} }
},
"/mobile/v1/org-player-rank": {
"get": {
"security": [
{
"Bearer": []
}
],
"description": "\u003c手机端\u003e获取球员排名",
"tags": [
"\u003c手机端\u003e比赛排名"
],
"summary": "\u003c手机端\u003e获取球员排名",
"parameters": [
{
"type": "integer",
"description": "页条数",
"name": "pageSize",
"in": "query"
},
{
"type": "integer",
"description": "页码",
"name": "pageIndex",
"in": "query"
},
{
"description": "data",
"name": "data",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/dto.OrgTeamPlayerGetPageReq"
}
}
],
"responses": {
"200": {
"description": "{\"code\": 200, \"data\": [...]}",
"schema": {
"type": "string"
}
}
}
}
},
"/mobile/v1/org-player-user/login": {
"post": {
"security": [
{
"Bearer": []
}
],
"description": "获取球员账户信息列表",
"tags": [
"球员账户信息"
],
"summary": "获取球员账户信息列表",
"parameters": [
{
"type": "integer",
"description": "页条数",
"name": "pageSize",
"in": "query"
},
{
"type": "integer",
"description": "页码",
"name": "pageIndex",
"in": "query"
}
],
"responses": {
"200": {
"description": "code\": 200, \"data\": [...]}",
"schema": {
"type": "string"
}
}
}
}
} }
}, },
"definitions": { "definitions": {
...@@ -7401,6 +7518,9 @@ var doc = `{ ...@@ -7401,6 +7518,9 @@ var doc = `{
"newsContent": { "newsContent": {
"type": "string" "type": "string"
}, },
"newsImg": {
"type": "string"
},
"newsName": { "newsName": {
"type": "string" "type": "string"
}, },
...@@ -7427,6 +7547,9 @@ var doc = `{ ...@@ -7427,6 +7547,9 @@ var doc = `{
"newsContent": { "newsContent": {
"type": "string" "type": "string"
}, },
"newsImg": {
"type": "string"
},
"newsName": { "newsName": {
"type": "string" "type": "string"
}, },
...@@ -7498,7 +7621,8 @@ var doc = `{ ...@@ -7498,7 +7621,8 @@ var doc = `{
"type": "string" "type": "string"
}, },
"shareConf": { "shareConf": {
"type": "string" "type": "string",
"default": "1"
}, },
"teamId": { "teamId": {
"type": "string" "type": "string"
...@@ -7548,11 +7672,13 @@ var doc = `{ ...@@ -7548,11 +7672,13 @@ var doc = `{
"type": "string" "type": "string"
}, },
"shareConf": { "shareConf": {
"type": "string" "type": "string",
"default": "1"
}, },
"status": { "status": {
"description": "状态 1 离队 2 在队", "description": "状态 1 离队 2 在队",
"type": "string" "type": "string",
"default": "2"
}, },
"teamId": { "teamId": {
"type": "string" "type": "string"
...@@ -7860,6 +7986,10 @@ var doc = `{ ...@@ -7860,6 +7986,10 @@ var doc = `{
"seasonId": { "seasonId": {
"description": "赛季id", "description": "赛季id",
"type": "string" "type": "string"
},
"teamId": {
"description": "联赛级别id",
"type": "string"
} }
} }
}, },
...@@ -8002,7 +8132,8 @@ var doc = `{ ...@@ -8002,7 +8132,8 @@ var doc = `{
}, },
"status": { "status": {
"description": "状态 1 离职 2 在职", "description": "状态 1 离职 2 在职",
"type": "string" "type": "string",
"default": "2"
}, },
"teamId": { "teamId": {
"type": "string" "type": "string"
...@@ -9153,9 +9284,21 @@ var doc = `{ ...@@ -9153,9 +9284,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"
}, },
...@@ -9165,12 +9308,18 @@ var doc = `{ ...@@ -9165,12 +9308,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"
}, },
...@@ -9183,6 +9332,9 @@ var doc = `{ ...@@ -9183,6 +9332,9 @@ var doc = `{
"noCache": { "noCache": {
"type": "boolean" "type": "boolean"
}, },
"params": {
"type": "string"
},
"parentId": { "parentId": {
"type": "integer" "type": "integer"
}, },
...@@ -9195,6 +9347,9 @@ var doc = `{ ...@@ -9195,6 +9347,9 @@ var doc = `{
"permission": { "permission": {
"type": "string" "type": "string"
}, },
"roleId": {
"type": "integer"
},
"sort": { "sort": {
"type": "integer" "type": "integer"
}, },
......
...@@ -1967,11 +1967,11 @@ ...@@ -1967,11 +1967,11 @@
"Bearer": [] "Bearer": []
} }
], ],
"description": "\u003c赛事\u003e获取联赛列表", "description": "获取联赛列表",
"tags": [ "tags": [
"\u003c赛事\u003e联赛" "联赛"
], ],
"summary": "\u003c赛事\u003e获取联赛列表", "summary": "获取联赛列表",
"parameters": [ "parameters": [
{ {
"type": "integer", "type": "integer",
...@@ -1984,15 +1984,6 @@ ...@@ -1984,15 +1984,6 @@
"description": "页码", "description": "页码",
"name": "pageIndex", "name": "pageIndex",
"in": "query" "in": "query"
},
{
"description": "data",
"name": "data",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/dto.OrgLeagueGetPageReq"
}
} }
], ],
"responses": { "responses": {
...@@ -2010,14 +2001,14 @@ ...@@ -2010,14 +2001,14 @@
"Bearer": [] "Bearer": []
} }
], ],
"description": "\u003c赛事\u003e创建联赛", "description": "创建联赛",
"consumes": [ "consumes": [
"application/json" "application/json"
], ],
"tags": [ "tags": [
"\u003c赛事\u003e联赛" "联赛"
], ],
"summary": "\u003c赛事\u003e创建联赛", "summary": "创建联赛",
"parameters": [ "parameters": [
{ {
"description": "data", "description": "data",
...@@ -2044,11 +2035,11 @@ ...@@ -2044,11 +2035,11 @@
"Bearer": [] "Bearer": []
} }
], ],
"description": "\u003c赛事\u003e删除联赛", "description": "删除联赛",
"tags": [ "tags": [
"\u003c赛事\u003e联赛" "联赛"
], ],
"summary": "\u003c赛事\u003e删除联赛", "summary": "删除联赛",
"parameters": [ "parameters": [
{ {
"description": "ids", "description": "ids",
...@@ -2079,11 +2070,11 @@ ...@@ -2079,11 +2070,11 @@
"Bearer": [] "Bearer": []
} }
], ],
"description": "\u003c赛事\u003e获取联赛", "description": "获取联赛",
"tags": [ "tags": [
"\u003c赛事\u003e联赛" "联赛"
], ],
"summary": "\u003c赛事\u003e获取联赛", "summary": "获取联赛",
"parameters": [ "parameters": [
{ {
"type": "string", "type": "string",
...@@ -2107,14 +2098,14 @@ ...@@ -2107,14 +2098,14 @@
"Bearer": [] "Bearer": []
} }
], ],
"description": "\u003c赛事\u003e修改联赛", "description": "修改联赛",
"consumes": [ "consumes": [
"application/json" "application/json"
], ],
"tags": [ "tags": [
"\u003c赛事\u003e联赛" "联赛"
], ],
"summary": "\u003c赛事\u003e修改联赛", "summary": "修改联赛",
"parameters": [ "parameters": [
{ {
"description": "body", "description": "body",
...@@ -3726,7 +3717,7 @@ ...@@ -3726,7 +3717,7 @@
], ],
"description": "\u003c球队\u003e获取比赛列表", "description": "\u003c球队\u003e获取比赛列表",
"tags": [ "tags": [
"\u003c球队\u003e比赛" "\u003c球队\u003e比赛管理"
], ],
"summary": "\u003c球队\u003e获取比赛列表", "summary": "\u003c球队\u003e获取比赛列表",
"parameters": [ "parameters": [
...@@ -3907,7 +3898,7 @@ ...@@ -3907,7 +3898,7 @@
], ],
"description": "\u003c球队\u003e获取比赛所有球员", "description": "\u003c球队\u003e获取比赛所有球员",
"tags": [ "tags": [
"\u003c球队\u003e比赛" "\u003c球队\u003e比赛管理"
], ],
"summary": "\u003c球队\u003e获取比赛所有球员", "summary": "\u003c球队\u003e获取比赛所有球员",
"parameters": [ "parameters": [
...@@ -3937,7 +3928,7 @@ ...@@ -3937,7 +3928,7 @@
], ],
"description": "\u003c球队\u003e获取比赛已设置球员", "description": "\u003c球队\u003e获取比赛已设置球员",
"tags": [ "tags": [
"\u003c球队\u003e比赛" "\u003c球队\u003e比赛管理"
], ],
"summary": "\u003c球队\u003e获取比赛已设置球员", "summary": "\u003c球队\u003e获取比赛已设置球员",
"parameters": [ "parameters": [
...@@ -3958,18 +3949,18 @@ ...@@ -3958,18 +3949,18 @@
} }
} }
}, },
"/api/v1/org-team-match/info/{id}": { "/api/v1/org-team-match/info": {
"get": { "get": {
"security": [ "security": [
{ {
"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",
...@@ -4000,7 +3991,7 @@ ...@@ -4000,7 +3991,7 @@
"application/json" "application/json"
], ],
"tags": [ "tags": [
"\u003c球队\u003e比赛" "\u003c球队\u003e比赛管理"
], ],
"summary": "\u003c球队\u003e修改比赛球员", "summary": "\u003c球队\u003e修改比赛球员",
"parameters": [ "parameters": [
...@@ -4866,6 +4857,51 @@ ...@@ -4866,6 +4857,51 @@
} }
} }
}, },
"/api/v1/org/upload": {
"post": {
"security": [
{
"Bearer": []
}
],
"description": "\u003c俱乐部\u003e获取俱乐部列表",
"tags": [
"\u003c俱乐部\u003e俱乐部"
],
"summary": "\u003c俱乐部\u003e获取俱乐部列表",
"parameters": [
{
"type": "integer",
"description": "页条数",
"name": "pageSize",
"in": "query"
},
{
"type": "integer",
"description": "页码",
"name": "pageIndex",
"in": "query"
},
{
"description": "data",
"name": "data",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/dto.OrgClubGetPageReq"
}
}
],
"responses": {
"200": {
"description": "{\"code\": 200, \"data\": [...]}",
"schema": {
"type": "string"
}
}
}
}
},
"/api/v1/post": { "/api/v1/post": {
"get": { "get": {
"security": [ "security": [
...@@ -6537,6 +6573,87 @@ ...@@ -6537,6 +6573,87 @@
} }
} }
} }
},
"/mobile/v1/org-player-rank": {
"get": {
"security": [
{
"Bearer": []
}
],
"description": "\u003c手机端\u003e获取球员排名",
"tags": [
"\u003c手机端\u003e比赛排名"
],
"summary": "\u003c手机端\u003e获取球员排名",
"parameters": [
{
"type": "integer",
"description": "页条数",
"name": "pageSize",
"in": "query"
},
{
"type": "integer",
"description": "页码",
"name": "pageIndex",
"in": "query"
},
{
"description": "data",
"name": "data",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/dto.OrgTeamPlayerGetPageReq"
}
}
],
"responses": {
"200": {
"description": "{\"code\": 200, \"data\": [...]}",
"schema": {
"type": "string"
}
}
}
}
},
"/mobile/v1/org-player-user/login": {
"post": {
"security": [
{
"Bearer": []
}
],
"description": "获取球员账户信息列表",
"tags": [
"球员账户信息"
],
"summary": "获取球员账户信息列表",
"parameters": [
{
"type": "integer",
"description": "页条数",
"name": "pageSize",
"in": "query"
},
{
"type": "integer",
"description": "页码",
"name": "pageIndex",
"in": "query"
}
],
"responses": {
"200": {
"description": "code\": 200, \"data\": [...]}",
"schema": {
"type": "string"
}
}
}
}
} }
}, },
"definitions": { "definitions": {
...@@ -7384,6 +7501,9 @@ ...@@ -7384,6 +7501,9 @@
"newsContent": { "newsContent": {
"type": "string" "type": "string"
}, },
"newsImg": {
"type": "string"
},
"newsName": { "newsName": {
"type": "string" "type": "string"
}, },
...@@ -7410,6 +7530,9 @@ ...@@ -7410,6 +7530,9 @@
"newsContent": { "newsContent": {
"type": "string" "type": "string"
}, },
"newsImg": {
"type": "string"
},
"newsName": { "newsName": {
"type": "string" "type": "string"
}, },
...@@ -7481,7 +7604,8 @@ ...@@ -7481,7 +7604,8 @@
"type": "string" "type": "string"
}, },
"shareConf": { "shareConf": {
"type": "string" "type": "string",
"default": "1"
}, },
"teamId": { "teamId": {
"type": "string" "type": "string"
...@@ -7531,11 +7655,13 @@ ...@@ -7531,11 +7655,13 @@
"type": "string" "type": "string"
}, },
"shareConf": { "shareConf": {
"type": "string" "type": "string",
"default": "1"
}, },
"status": { "status": {
"description": "状态 1 离队 2 在队", "description": "状态 1 离队 2 在队",
"type": "string" "type": "string",
"default": "2"
}, },
"teamId": { "teamId": {
"type": "string" "type": "string"
...@@ -7843,6 +7969,10 @@ ...@@ -7843,6 +7969,10 @@
"seasonId": { "seasonId": {
"description": "赛季id", "description": "赛季id",
"type": "string" "type": "string"
},
"teamId": {
"description": "联赛级别id",
"type": "string"
} }
} }
}, },
...@@ -7985,7 +8115,8 @@ ...@@ -7985,7 +8115,8 @@
}, },
"status": { "status": {
"description": "状态 1 离职 2 在职", "description": "状态 1 离职 2 在职",
"type": "string" "type": "string",
"default": "2"
}, },
"teamId": { "teamId": {
"type": "string" "type": "string"
...@@ -9136,9 +9267,21 @@ ...@@ -9136,9 +9267,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"
}, },
...@@ -9148,12 +9291,18 @@ ...@@ -9148,12 +9291,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"
}, },
...@@ -9166,6 +9315,9 @@ ...@@ -9166,6 +9315,9 @@
"noCache": { "noCache": {
"type": "boolean" "type": "boolean"
}, },
"params": {
"type": "string"
},
"parentId": { "parentId": {
"type": "integer" "type": "integer"
}, },
...@@ -9178,6 +9330,9 @@ ...@@ -9178,6 +9330,9 @@
"permission": { "permission": {
"type": "string" "type": "string"
}, },
"roleId": {
"type": "integer"
},
"sort": { "sort": {
"type": "integer" "type": "integer"
}, },
......
...@@ -562,6 +562,8 @@ definitions: ...@@ -562,6 +562,8 @@ definitions:
type: integer type: integer
newsContent: newsContent:
type: string type: string
newsImg:
type: string
newsName: newsName:
type: string type: string
newsTitle: newsTitle:
...@@ -579,6 +581,8 @@ definitions: ...@@ -579,6 +581,8 @@ definitions:
type: integer type: integer
newsContent: newsContent:
type: string type: string
newsImg:
type: string
newsName: newsName:
type: string type: string
newsTitle: newsTitle:
...@@ -626,6 +630,7 @@ definitions: ...@@ -626,6 +630,7 @@ definitions:
sex: sex:
type: string type: string
shareConf: shareConf:
default: "1"
type: string type: string
teamId: teamId:
type: string type: string
...@@ -659,8 +664,10 @@ definitions: ...@@ -659,8 +664,10 @@ definitions:
sex: sex:
type: string type: string
shareConf: shareConf:
default: "1"
type: string type: string
status: status:
default: "2"
description: 状态 1 离队 2 在队 description: 状态 1 离队 2 在队
type: string type: string
teamId: teamId:
...@@ -867,6 +874,9 @@ definitions: ...@@ -867,6 +874,9 @@ definitions:
seasonId: seasonId:
description: 赛季id description: 赛季id
type: string type: string
teamId:
description: 联赛级别id
type: string
type: object type: object
dto.OrgTeamTeamGetPageReq: dto.OrgTeamTeamGetPageReq:
properties: properties:
...@@ -960,6 +970,7 @@ definitions: ...@@ -960,6 +970,7 @@ definitions:
signImg: signImg:
type: string type: string
status: status:
default: "2"
description: 状态 1 离职 2 在职 description: 状态 1 离职 2 在职
type: string type: string
teamId: teamId:
...@@ -1745,16 +1756,28 @@ definitions: ...@@ -1745,16 +1756,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:
...@@ -1765,6 +1788,8 @@ definitions: ...@@ -1765,6 +1788,8 @@ definitions:
type: string type: string
noCache: noCache:
type: boolean type: boolean
params:
type: string
parentId: parentId:
type: integer type: integer
path: path:
...@@ -1773,6 +1798,8 @@ definitions: ...@@ -1773,6 +1798,8 @@ definitions:
type: string type: string
permission: permission:
type: string type: string
roleId:
type: integer
sort: sort:
type: integer type: integer
sysApi: sysApi:
...@@ -3188,7 +3215,7 @@ paths: ...@@ -3188,7 +3215,7 @@ paths:
- <赛事>赛区 - <赛事>赛区
/api/v1/org-league: /api/v1/org-league:
delete: delete:
description: <赛事>删除联赛 description: 删除联赛
parameters: parameters:
- description: ids - description: ids
in: body in: body
...@@ -3204,11 +3231,11 @@ paths: ...@@ -3204,11 +3231,11 @@ paths:
type: string type: string
security: security:
- Bearer: [] - Bearer: []
summary: <赛事>删除联赛 summary: 删除联赛
tags: tags:
- <赛事>联赛 - 联赛
get: get:
description: <赛事>获取联赛列表 description: 获取联赛列表
parameters: parameters:
- description: 页条数 - description: 页条数
in: query in: query
...@@ -3218,12 +3245,6 @@ paths: ...@@ -3218,12 +3245,6 @@ 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.OrgLeagueGetPageReq'
responses: responses:
"200": "200":
description: '{"code": 200, "data": [...]}' description: '{"code": 200, "data": [...]}'
...@@ -3231,13 +3252,13 @@ paths: ...@@ -3231,13 +3252,13 @@ paths:
type: string type: string
security: security:
- Bearer: [] - Bearer: []
summary: <赛事>获取联赛列表 summary: 获取联赛列表
tags: tags:
- <赛事>联赛 - 联赛
post: post:
consumes: consumes:
- application/json - application/json
description: <赛事>创建联赛 description: 创建联赛
parameters: parameters:
- description: data - description: data
in: body in: body
...@@ -3252,12 +3273,12 @@ paths: ...@@ -3252,12 +3273,12 @@ paths:
type: string type: string
security: security:
- Bearer: [] - Bearer: []
summary: <赛事>创建联赛 summary: 创建联赛
tags: tags:
- <赛事>联赛 - 联赛
/api/v1/org-league/{id}: /api/v1/org-league/{id}:
get: get:
description: <赛事>获取联赛 description: 获取联赛
parameters: parameters:
- description: id - description: id
in: path in: path
...@@ -3270,13 +3291,13 @@ paths: ...@@ -3270,13 +3291,13 @@ paths:
type: string type: string
security: security:
- Bearer: [] - Bearer: []
summary: <赛事>获取联赛 summary: 获取联赛
tags: tags:
- <赛事>联赛 - 联赛
put: put:
consumes: consumes:
- application/json - application/json
description: <赛事>修改联赛 description: 修改联赛
parameters: parameters:
- description: body - description: body
in: body in: body
...@@ -3291,9 +3312,9 @@ paths: ...@@ -3291,9 +3312,9 @@ paths:
type: string type: string
security: security:
- Bearer: [] - Bearer: []
summary: <赛事>修改联赛 summary: 修改联赛
tags: tags:
- <赛事>联赛 - 联赛
/api/v1/org-match: /api/v1/org-match:
delete: delete:
description: <赛事>删除比赛 description: <赛事>删除比赛
...@@ -4290,7 +4311,7 @@ paths: ...@@ -4290,7 +4311,7 @@ paths:
- Bearer: [] - Bearer: []
summary: <球队>获取比赛列表 summary: <球队>获取比赛列表
tags: tags:
- <球队>比赛 - <球队>比赛管理
/api/v1/org-team-match-evaluate: /api/v1/org-team-match-evaluate:
get: get:
description: <球队>教练评价列表 description: <球队>教练评价列表
...@@ -4391,7 +4412,7 @@ paths: ...@@ -4391,7 +4412,7 @@ paths:
- Bearer: [] - Bearer: []
summary: <球队>获取比赛所有球员 summary: <球队>获取比赛所有球员
tags: tags:
- <球队>比赛 - <球队>比赛管理
/api/v1/org-team-match/get-players-is-set: /api/v1/org-team-match/get-players-is-set:
get: get:
description: <球队>获取比赛已设置球员 description: <球队>获取比赛已设置球员
...@@ -4409,10 +4430,10 @@ paths: ...@@ -4409,10 +4430,10 @@ paths:
- Bearer: [] - Bearer: []
summary: <球队>获取比赛已设置球员 summary: <球队>获取比赛已设置球员
tags: tags:
- <球队>比赛 - <球队>比赛管理
/api/v1/org-team-match/info/{id}: /api/v1/org-team-match/info:
get: get:
description: <赛事>获取比赛附加数据(比赛详情,联赛,赛区,赛季,球队) description: <球队>获取比赛附加数据(比赛详情,联赛,赛区,赛季,球队)
parameters: parameters:
- description: id - description: id
in: path in: path
...@@ -4425,9 +4446,9 @@ paths: ...@@ -4425,9 +4446,9 @@ paths:
type: string type: string
security: security:
- Bearer: [] - Bearer: []
summary: <赛事>获取比赛附加数据(比赛详情,联赛,赛区,赛季,球队) summary: <球队>获取比赛附加数据(比赛详情,联赛,赛区,赛季,球队)
tags: tags:
- <赛事>比赛 - <球队>比赛管理
/api/v1/org-team-match/update-players: /api/v1/org-team-match/update-players:
put: put:
consumes: consumes:
...@@ -4449,7 +4470,7 @@ paths: ...@@ -4449,7 +4470,7 @@ paths:
- Bearer: [] - Bearer: []
summary: <球队>修改比赛球员 summary: <球队>修改比赛球员
tags: tags:
- <球队>比赛 - <球队>比赛管理
/api/v1/org-team-player: /api/v1/org-team-player:
get: get:
description: <球队>获取球员表现列表 description: <球队>获取球员表现列表
...@@ -4965,6 +4986,34 @@ paths: ...@@ -4965,6 +4986,34 @@ paths:
summary: 修改用户状态 summary: 修改用户状态
tags: tags:
- 用户 - 用户
/api/v1/org/upload:
post:
description: <俱乐部>获取俱乐部列表
parameters:
- description: 页条数
in: query
name: pageSize
type: integer
- description: 页码
in: query
name: pageIndex
type: integer
- description: data
in: body
name: data
required: true
schema:
$ref: '#/definitions/dto.OrgClubGetPageReq'
responses:
"200":
description: '{"code": 200, "data": [...]}'
schema:
type: string
security:
- Bearer: []
summary: <俱乐部>获取俱乐部列表
tags:
- <俱乐部>俱乐部
/api/v1/post: /api/v1/post:
delete: delete:
description: 删除数据 description: 删除数据
...@@ -5998,6 +6047,56 @@ paths: ...@@ -5998,6 +6047,56 @@ paths:
summary: 获取新闻列表 summary: 获取新闻列表
tags: tags:
- 新闻 - 新闻
/mobile/v1/org-player-rank:
get:
description: <手机端>获取球员排名
parameters:
- description: 页条数
in: query
name: pageSize
type: integer
- description: 页码
in: query
name: pageIndex
type: integer
- description: data
in: body
name: data
required: true
schema:
$ref: '#/definitions/dto.OrgTeamPlayerGetPageReq'
responses:
"200":
description: '{"code": 200, "data": [...]}'
schema:
type: string
security:
- Bearer: []
summary: <手机端>获取球员排名
tags:
- <手机端>比赛排名
/mobile/v1/org-player-user/login:
post:
description: 获取球员账户信息列表
parameters:
- description: 页条数
in: query
name: pageSize
type: integer
- description: 页码
in: query
name: pageIndex
type: integer
responses:
"200":
description: 'code": 200, "data": [...]}'
schema:
type: string
security:
- Bearer: []
summary: 获取球员账户信息列表
tags:
- 球员账户信息
securityDefinitions: securityDefinitions:
Bearer: Bearer:
in: header in: header
......
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