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