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
339630e0
Commit
339630e0
authored
Jan 14, 2022
by
haoyanbin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
851bf0db
Changes
12
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
576 additions
and
211 deletions
+576
-211
sys_user.go
app/admin/apis/sys_user.go
+12
-12
sys_user.go
app/admin/service/sys_user.go
+1
-0
org_club.go
app/operate/apis/org_club.go
+4
-2
org_team_user.go
app/operate/apis/org_team_user.go
+30
-1
org_club.go
app/operate/models/org_club.go
+1
-1
org_team_user.go
app/operate/models/org_team_user.go
+15
-14
org_club.go
app/operate/service/dto/org_club.go
+8
-6
org_team_user.go
app/operate/service/dto/org_team_user.go
+11
-8
org_club.go
app/operate/service/org_club.go
+3
-1
docs.go
docs/docs.go
+185
-61
swagger.json
docs/swagger.json
+185
-61
swagger.yaml
docs/swagger.yaml
+121
-44
No files found.
app/admin/apis/sys_user.go
View file @
339630e0
...
...
@@ -30,7 +30,7 @@ type SysUser struct {
// @Security Bearer
func
(
e
SysUser
)
GetPage
(
c
*
gin
.
Context
)
{
s
:=
service
.
SysUser
{}
req
:=
dto
.
SysUserGetPageReq
{}
req
:=
dto
.
SysUserGetPageReq
{}
err
:=
e
.
MakeContext
(
c
)
.
MakeOrm
()
.
Bind
(
&
req
)
.
...
...
@@ -67,7 +67,7 @@ func (e SysUser) GetPage(c *gin.Context) {
// @Security Bearer
func
(
e
SysUser
)
Get
(
c
*
gin
.
Context
)
{
s
:=
service
.
SysUser
{}
req
:=
dto
.
SysUserById
{}
req
:=
dto
.
SysUserById
{}
err
:=
e
.
MakeContext
(
c
)
.
MakeOrm
()
.
Bind
(
&
req
,
nil
)
.
...
...
@@ -101,7 +101,7 @@ func (e SysUser) Get(c *gin.Context) {
// @Security Bearer
func
(
e
SysUser
)
Insert
(
c
*
gin
.
Context
)
{
s
:=
service
.
SysUser
{}
req
:=
dto
.
SysUserInsertReq
{}
req
:=
dto
.
SysUserInsertReq
{}
err
:=
e
.
MakeContext
(
c
)
.
MakeOrm
()
.
Bind
(
&
req
,
binding
.
JSON
)
.
...
...
@@ -136,7 +136,7 @@ func (e SysUser) Insert(c *gin.Context) {
// @Security Bearer
func
(
e
SysUser
)
Update
(
c
*
gin
.
Context
)
{
s
:=
service
.
SysUser
{}
req
:=
dto
.
SysUserUpdateReq
{}
req
:=
dto
.
SysUserUpdateReq
{}
err
:=
e
.
MakeContext
(
c
)
.
MakeOrm
()
.
Bind
(
&
req
)
.
...
...
@@ -171,7 +171,7 @@ func (e SysUser) Update(c *gin.Context) {
// @Security Bearer
func
(
e
SysUser
)
Delete
(
c
*
gin
.
Context
)
{
s
:=
service
.
SysUser
{}
req
:=
dto
.
SysUserById
{}
req
:=
dto
.
SysUserById
{}
err
:=
e
.
MakeContext
(
c
)
.
MakeOrm
()
.
Bind
(
&
req
,
binding
.
JSON
)
.
...
...
@@ -208,7 +208,7 @@ func (e SysUser) Delete(c *gin.Context) {
// @Security Bearer
func
(
e
SysUser
)
InsetAvatar
(
c
*
gin
.
Context
)
{
s
:=
service
.
SysUser
{}
req
:=
dto
.
UpdateSysUserAvatarReq
{}
req
:=
dto
.
UpdateSysUserAvatarReq
{}
err
:=
e
.
MakeContext
(
c
)
.
MakeOrm
()
.
MakeService
(
&
s
.
Service
)
.
...
...
@@ -257,7 +257,7 @@ func (e SysUser) InsetAvatar(c *gin.Context) {
// @Security Bearer
func
(
e
SysUser
)
UpdateStatus
(
c
*
gin
.
Context
)
{
s
:=
service
.
SysUser
{}
req
:=
dto
.
UpdateSysUserStatusReq
{}
req
:=
dto
.
UpdateSysUserStatusReq
{}
err
:=
e
.
MakeContext
(
c
)
.
MakeOrm
()
.
Bind
(
&
req
,
binding
.
JSON
,
nil
)
.
...
...
@@ -294,7 +294,7 @@ func (e SysUser) UpdateStatus(c *gin.Context) {
// @Security Bearer
func
(
e
SysUser
)
ResetPwd
(
c
*
gin
.
Context
)
{
s
:=
service
.
SysUser
{}
req
:=
dto
.
ResetSysUserPwdReq
{}
req
:=
dto
.
ResetSysUserPwdReq
{}
err
:=
e
.
MakeContext
(
c
)
.
MakeOrm
()
.
Bind
(
&
req
,
binding
.
JSON
)
.
...
...
@@ -331,7 +331,7 @@ func (e SysUser) ResetPwd(c *gin.Context) {
// @Security Bearer
func
(
e
SysUser
)
UpdatePwd
(
c
*
gin
.
Context
)
{
s
:=
service
.
SysUser
{}
req
:=
dto
.
PassWord
{}
req
:=
dto
.
PassWord
{}
err
:=
e
.
MakeContext
(
c
)
.
MakeOrm
()
.
Bind
(
&
req
)
.
...
...
@@ -364,7 +364,7 @@ func (e SysUser) UpdatePwd(c *gin.Context) {
// @Security Bearer
func
(
e
SysUser
)
GetProfile
(
c
*
gin
.
Context
)
{
s
:=
service
.
SysUser
{}
req
:=
dto
.
SysUserById
{}
req
:=
dto
.
SysUserById
{}
err
:=
e
.
MakeContext
(
c
)
.
MakeOrm
()
.
MakeService
(
&
s
.
Service
)
.
...
...
@@ -401,7 +401,7 @@ func (e SysUser) GetProfile(c *gin.Context) {
// @Router /api/v1/getinfo [get]
// @Security Bearer
func
(
e
SysUser
)
GetInfo
(
c
*
gin
.
Context
)
{
req
:=
dto
.
SysUserById
{}
req
:=
dto
.
SysUserById
{}
s
:=
service
.
SysUser
{}
r
:=
service
.
SysRole
{}
err
:=
e
.
MakeContext
(
c
)
.
...
...
app/admin/service/sys_user.go
View file @
339630e0
...
...
@@ -80,6 +80,7 @@ func (e *SysUser) Insert(c *dto.SysUserInsertReq) error {
e
.
Log
.
Errorf
(
"db error: %s"
,
err
)
return
err
}
c
.
UserId
=
data
.
UserId
return
nil
}
...
...
app/operate/apis/org_club.go
View file @
339630e0
...
...
@@ -124,7 +124,8 @@ func (e OrgClub) Insert(c *gin.Context) {
sSysUser
:=
sService
.
SysUser
{}
reqSysUser
:=
sDto
.
SysUserInsertReq
{}
reqSysUser
.
Username
=
req
.
ClubUserName
e
.
MakeContext
(
c
)
.
MakeOrm
()
.
MakeService
(
&
sSysUser
.
Service
)
reqSysUser
.
Username
=
req
.
ClubUsername
reqSysUser
.
Password
=
"123456"
reqSysUser
.
NickName
=
req
.
ClubContacts
reqSysUser
.
NickNameEn
=
req
.
ClubContactsEn
...
...
@@ -150,6 +151,7 @@ func (e OrgClub) Insert(c *gin.Context) {
//关联表添加
reqClubUser
:=
dto
.
OrgClubUserInsertReq
{}
sClubUser
:=
service
.
OrgClubUser
{}
e
.
MakeContext
(
c
)
.
MakeOrm
()
.
MakeService
(
&
sClubUser
.
Service
)
errClubUser
:=
e
.
MakeContext
(
c
)
.
MakeOrm
()
.
Bind
(
&
req
)
.
...
...
@@ -209,7 +211,7 @@ func (e OrgClub) Update(c *gin.Context) {
sSysUser
:=
sService
.
SysUser
{}
reqSysUser
:=
sDto
.
SysUserUpdateReq
{}
reqSysUser
.
Username
=
req
.
ClubUser
N
ame
reqSysUser
.
Username
=
req
.
ClubUser
n
ame
reqSysUser
.
NickName
=
req
.
ClubContacts
reqSysUser
.
NickNameEn
=
req
.
ClubContactsEn
reqSysUser
.
Phone
=
req
.
ClubMobile
...
...
app/operate/apis/org_team_user.go
View file @
339630e0
...
...
@@ -2,6 +2,9 @@ package apis
import
(
"fmt"
sService
"go-admin/app/admin/service"
sDto
"go-admin/app/admin/service/dto"
"strconv"
"github.com/gin-gonic/gin"
"github.com/go-admin-team/go-admin-core/sdk/api"
...
...
@@ -110,9 +113,35 @@ func (e OrgTeamUser) Insert(c *gin.Context) {
e
.
Error
(
500
,
err
,
err
.
Error
())
return
}
sSysUser
:=
sService
.
SysUser
{}
reqSysUser
:=
sDto
.
SysUserInsertReq
{}
e
.
MakeContext
(
c
)
.
MakeOrm
()
.
MakeService
(
&
sSysUser
.
Service
)
reqSysUser
.
Username
=
req
.
UserName
reqSysUser
.
Password
=
"123456"
reqSysUser
.
NickName
=
req
.
Name
reqSysUser
.
NickNameEn
=
req
.
NameEn
reqSysUser
.
Phone
=
req
.
UserName
reqSysUser
.
RoleId
=
1
reqSysUser
.
Avatar
=
""
reqSysUser
.
Sex
=
req
.
Sex
reqSysUser
.
Email
=
""
reqSysUser
.
DeptId
=
1
reqSysUser
.
PostId
=
1
reqSysUser
.
Remark
=
"球队工作人员"
reqSysUser
.
Status
=
"2"
// 设置创建人
req
.
SetCreateBy
(
user
.
GetUserId
(
c
))
reqSysUser
.
SetCreateBy
(
user
.
GetUserId
(
c
))
err
=
sSysUser
.
Insert
(
&
reqSysUser
)
if
err
!=
nil
{
e
.
Logger
.
Error
(
err
)
e
.
Error
(
500
,
err
,
err
.
Error
())
return
}
// 设置创建人
req
.
SetCreateBy
(
user
.
GetUserId
(
c
))
req
.
UserId
=
strconv
.
Itoa
(
reqSysUser
.
GetId
()
.
(
int
))
err
=
s
.
Insert
(
&
req
)
if
err
!=
nil
{
e
.
Error
(
500
,
err
,
fmt
.
Sprintf
(
"创建球队人员账户信息 失败,
\r\n
失败信息 %s"
,
err
.
Error
()))
...
...
app/operate/models/org_club.go
View file @
339630e0
...
...
@@ -9,7 +9,7 @@ import (
type
OrgClub
struct
{
models
.
Model
ClubName
string
`json:"clubName" gorm:"type:varchar(255);comment:俱乐部名称"`
ClubUser
Name
string
`json:"clubUserN
ame" gorm:"type:varchar(120);comment:俱乐部账号"`
ClubUser
name
string
`json:"clubUsern
ame" gorm:"type:varchar(120);comment:俱乐部账号"`
ClubContacts
string
`json:"clubContacts" gorm:"type:varchar(120);comment:俱乐部联系人"`
ClubContactsEn
string
`json:"clubContactsEn" gorm:"type:varchar(120);comment:俱乐部联系人"`
ClubMobile
string
`json:"clubMobile" gorm:"type:varchar(30);comment:俱乐部联系电话"`
...
...
app/operate/models/org_team_user.go
View file @
339630e0
...
...
@@ -9,13 +9,14 @@ import (
type
OrgTeamUser
struct
{
models
.
Model
ClubId
string
`json:"clubId" gorm:"type:int(11);comment:org_club表id"`
TeamId
string
`json:"teamId" gorm:"type:int(11);comment:org_team表id"`
UserId
string
`json:"userId" gorm:"type:int(11);comment:sys_user表id"`
Name
string
`json:"name" gorm:"type:int(11);comment:姓名"`
Sex
string
`json:"sex" gorm:"type:int(11);comment:性别"`
UserImg
string
`json:"userImg" gorm:"type:int(11);comment:用户照片"`
SignImg
string
`json:"signImg" gorm:"type:int(11);comment:签名照片"`
ClubId
string
`json:"clubId" gorm:"type:int(20);comment:org_club表id"`
TeamId
string
`json:"teamId" gorm:"type:int(20);comment:org_team表id"`
UserId
string
`json:"userId" gorm:"type:int(20);comment:sys_user表id"`
Name
string
`json:"name" gorm:"type:varchar(120);comment:姓名"`
NameEn
string
`json:"nameEn" gorm:"type:varchar(120);comment:姓名"`
Sex
string
`json:"sex" gorm:"type:varchar(120);comment:性别"`
UserImg
string
`json:"userImg" gorm:"type:varchar(255);comment:用户照片"`
SignImg
string
`json:"signImg" gorm:"type:varchar(255);comment:签名照片"`
models
.
ModelTime
models
.
ControlBy
}
...
...
app/operate/service/dto/org_club.go
View file @
339630e0
...
...
@@ -8,7 +8,9 @@ import (
type
OrgClubGetPageReq
struct
{
dto
.
Pagination
`search:"-"`
ClubName
string
`form:"clubNameOrder" json:"clubName" comment:"俱乐部名称"`
ClubName
string
`form:"clubName" json:"clubName" search:"type:contains;column:club_name;table:org_club" comment:"俱乐部名称"`
CreateStartTime
string
`form:"createStartTime" search:"type:gte;column:create_at;table:org_club" comment:"开始时间"`
CreateEndTime
string
`form:"createEndTime" search:"type:lte;column:create_at;table:org_club" comment:"结束时间"`
}
func
(
m
*
OrgClubGetPageReq
)
GetNeedSearch
()
interface
{}
{
...
...
@@ -18,7 +20,7 @@ func (m *OrgClubGetPageReq) GetNeedSearch() interface{} {
type
OrgClubInsertReq
struct
{
Id
int
`json:"-" comment:""`
//
ClubName
string
`json:"clubName" comment:"俱乐部名称"`
ClubUser
Name
string
`json:"clubUserN
ame" comment:"俱乐部账号"`
ClubUser
name
string
`json:"clubUsern
ame" comment:"俱乐部账号"`
ClubContacts
string
`json:"clubContacts" comment:"俱乐部联系人"`
ClubContactsEn
string
`json:"clubContactsEn" comment:"俱乐部联系人"`
ClubMobile
string
`json:"clubMobile" comment:"俱乐部联系电话"`
...
...
@@ -32,7 +34,7 @@ func (s *OrgClubInsertReq) Generate(model *models.OrgClub) {
model
.
Model
=
common
.
Model
{
Id
:
s
.
Id
}
}
model
.
ClubName
=
s
.
ClubName
model
.
ClubUser
Name
=
s
.
ClubUserN
ame
model
.
ClubUser
name
=
s
.
ClubUsern
ame
model
.
ClubContacts
=
s
.
ClubContacts
model
.
ClubContactsEn
=
s
.
ClubContactsEn
model
.
ClubMobile
=
s
.
ClubMobile
...
...
@@ -47,7 +49,7 @@ func (s *OrgClubInsertReq) GetId() interface{} {
type
OrgClubUpdateReq
struct
{
Id
int
`uri:"id" comment:""`
//
ClubName
string
`json:"clubName" comment:"俱乐部名称"`
ClubUser
Name
string
`json:"clubUserN
ame" comment:"俱乐部账号"`
ClubUser
name
string
`json:"clubUsern
ame" comment:"俱乐部账号"`
ClubContacts
string
`json:"clubContacts" comment:"俱乐部联系人"`
ClubContactsEn
string
`json:"clubContactsEn" comment:"俱乐部联系人"`
ClubMobile
string
`json:"clubMobile" comment:"俱乐部联系电话"`
...
...
@@ -61,7 +63,7 @@ func (s *OrgClubUpdateReq) Generate(model *models.OrgClub) {
model
.
Model
=
common
.
Model
{
Id
:
s
.
Id
}
}
model
.
ClubName
=
s
.
ClubName
model
.
ClubUser
Name
=
s
.
ClubUserN
ame
model
.
ClubUser
name
=
s
.
ClubUsern
ame
model
.
ClubContacts
=
s
.
ClubContacts
model
.
ClubContactsEn
=
s
.
ClubContactsEn
model
.
ClubMobile
=
s
.
ClubMobile
...
...
app/operate/service/dto/org_team_user.go
View file @
339630e0
...
...
@@ -31,11 +31,14 @@ type OrgTeamUserInsertReq struct {
Id
int
`json:"-" comment:""`
//
ClubId
string
`json:"clubId" comment:"org_club表id"`
TeamId
string
`json:"teamId" comment:"org_team表id"`
UserId
string
`json:"userId" comment:"sys_user表id"`
RoleId
string
`json:"roleId" comment:"角色id"`
UserId
string
`json:"userId" comment:"用户id"`
Name
string
`json:"name" comment:"姓名"`
NameEn
string
`json:"name_en" comment:"姓名"`
Sex
string
`json:"sex" comment:"性别"`
UserImg
string
`json:"userImg" comment:"用户照片"`
SignImg
string
`json:"signImg" comment:"签名照片"`
UserName
string
`json:"userName" comment:"账号"`
common
.
ControlBy
}
...
...
app/operate/service/org_club.go
View file @
339630e0
...
...
@@ -21,7 +21,8 @@ func (e *OrgClub) GetPage(c *dto.OrgClubGetPageReq, p *actions.DataPermission, l
var
err
error
var
data
models
.
OrgClub
err
=
e
.
Orm
.
Model
(
&
data
)
.
err
=
e
.
Orm
.
Table
(
"org_club"
)
.
Select
(
"id,club_name,created_at,club_contacts,club_contacts_en,club_mobile"
)
.
Scopes
(
cDto
.
MakeCondition
(
c
.
GetNeedSearch
()),
cDto
.
Paginate
(
c
.
GetPageSize
(),
c
.
GetPageIndex
()),
...
...
@@ -67,6 +68,7 @@ func (e *OrgClub) Insert(c *dto.OrgClubInsertReq) error {
e
.
Log
.
Errorf
(
"OrgClubService Insert error:%s
\r\n
"
,
err
)
return
err
}
c
.
Id
=
data
.
Id
return
nil
}
...
...
docs/docs.go
View file @
339630e0
...
...
@@ -1300,6 +1300,72 @@ var doc = `{
}
}
},
"/api/v1/org-club-player/get": {
"get": {
"security": [
{
"Bearer": []
}
],
"description": "\u003c俱乐部\u003e获取球员比赛详情",
"tags": [
"\u003c俱乐部\u003e球员"
],
"summary": "\u003c俱乐部\u003e获取球员比赛详情",
"parameters": [
{
"type": "string",
"description": "id",
"name": "id",
"in": "path"
}
],
"responses": {
"200": {
"description": "{\"code\": 200, \"data\": [...]}",
"schema": {
"type": "string"
}
}
}
}
},
"/api/v1/org-club-player/get-match": {
"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"
}
],
"responses": {
"200": {
"description": "{\"code\": 200, \"data\": [...]}",
"schema": {
"type": "string"
}
}
}
}
},
"/api/v1/org-club-team": {
"get": {
"security": [
...
...
@@ -1336,6 +1402,36 @@ var doc = `{
}
}
},
"/api/v1/org-club-team/get": {
"get": {
"security": [
{
"Bearer": []
}
],
"description": "\u003c俱乐部\u003e获取球队比赛详情",
"tags": [
"\u003c俱乐部\u003e球队"
],
"summary": "\u003c俱乐部\u003e获取球队比赛详情",
"parameters": [
{
"type": "string",
"description": "id",
"name": "id",
"in": "path"
}
],
"responses": {
"200": {
"description": "{\"code\": 200, \"data\": [...]}",
"schema": {
"type": "string"
}
}
}
}
},
"/api/v1/org-club-team/get-match": {
"get": {
"security": [
...
...
@@ -1372,18 +1468,18 @@ var doc = `{
}
}
},
"/api/v1/org-club-team/
{id}
": {
"/api/v1/org-club-team/
info
": {
"get": {
"security": [
{
"Bearer": []
}
],
"description": "\u003c
俱乐部\u003e获取球队比赛详情
",
"description": "\u003c
赛事\u003e获取比赛附加数据(比赛详情,联赛,赛区,赛季,球队)
",
"tags": [
"\u003c
俱乐部\u003e球队
"
"\u003c
赛事\u003e比赛
"
],
"summary": "\u003c
俱乐部\u003e获取球队比赛详情
",
"summary": "\u003c
赛事\u003e获取比赛附加数据(比赛详情,联赛,赛区,赛季,球队)
",
"parameters": [
{
"type": "string",
...
...
@@ -1807,11 +1903,11 @@ var doc = `{
"Bearer": []
}
],
"description": "获取联赛列表",
"description": "
\u003c赛事\u003e
获取联赛列表",
"tags": [
"联赛"
"
\u003c赛事\u003e
联赛"
],
"summary": "获取联赛列表",
"summary": "
\u003c赛事\u003e
获取联赛列表",
"parameters": [
{
"type": "integer",
...
...
@@ -1841,14 +1937,14 @@ var doc = `{
"Bearer": []
}
],
"description": "创建联赛",
"description": "
\u003c赛事\u003e
创建联赛",
"consumes": [
"application/json"
],
"tags": [
"联赛"
"
\u003c赛事\u003e
联赛"
],
"summary": "创建联赛",
"summary": "
\u003c赛事\u003e
创建联赛",
"parameters": [
{
"description": "data",
...
...
@@ -1875,11 +1971,11 @@ var doc = `{
"Bearer": []
}
],
"description": "删除联赛",
"description": "
\u003c赛事\u003e
删除联赛",
"tags": [
"联赛"
"
\u003c赛事\u003e
联赛"
],
"summary": "删除联赛",
"summary": "
\u003c赛事\u003e
删除联赛",
"parameters": [
{
"description": "ids",
...
...
@@ -1910,11 +2006,11 @@ var doc = `{
"Bearer": []
}
],
"description": "获取联赛",
"description": "
\u003c赛事\u003e
获取联赛",
"tags": [
"联赛"
"
\u003c赛事\u003e
联赛"
],
"summary": "获取联赛",
"summary": "
\u003c赛事\u003e
获取联赛",
"parameters": [
{
"type": "string",
...
...
@@ -1938,14 +2034,14 @@ var doc = `{
"Bearer": []
}
],
"description": "修改联赛",
"description": "
\u003c赛事\u003e
修改联赛",
"consumes": [
"application/json"
],
"tags": [
"联赛"
"
\u003c赛事\u003e
联赛"
],
"summary": "修改联赛",
"summary": "
\u003c赛事\u003e
修改联赛",
"parameters": [
{
"description": "body",
...
...
@@ -2788,11 +2884,11 @@ var doc = `{
"Bearer": []
}
],
"description": "\u003c
俱乐部\u003e获取球员数据
列表",
"description": "\u003c
球队\u003e获取球员
列表",
"tags": [
"\u003c
俱乐部
\u003e球员"
"\u003c
球队
\u003e球员"
],
"summary": "\u003c
俱乐部\u003e获取球员数据
列表",
"summary": "\u003c
球队\u003e获取球员
列表",
"parameters": [
{
"type": "integer",
...
...
@@ -3051,42 +3147,6 @@ var doc = `{
}
}
},
"/api/v1/org-player/get-match": {
"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"
}
],
"responses": {
"200": {
"description": "{\"code\": 200, \"data\": [...]}",
"schema": {
"type": "string"
}
}
}
}
},
"/api/v1/org-player/{id}": {
"get": {
"security": [
...
...
@@ -3094,11 +3154,11 @@ var doc = `{
"Bearer": []
}
],
"description": "\u003c
俱乐部\u003e获取球员比赛详情
",
"description": "\u003c
球队\u003e获取球员
",
"tags": [
"\u003c
俱乐部
\u003e球员"
"\u003c
球队
\u003e球员"
],
"summary": "\u003c
俱乐部\u003e获取球员比赛详情
",
"summary": "\u003c
球队\u003e获取球员
",
"parameters": [
{
"type": "string",
...
...
@@ -3717,6 +3777,36 @@ var doc = `{
}
}
},
"/api/v1/org-team-match/info/{id}": {
"get": {
"security": [
{
"Bearer": []
}
],
"description": "\u003c赛事\u003e获取比赛附加数据(比赛详情,联赛,赛区,赛季,球队)",
"tags": [
"\u003c赛事\u003e比赛"
],
"summary": "\u003c赛事\u003e获取比赛附加数据(比赛详情,联赛,赛区,赛季,球队)",
"parameters": [
{
"type": "string",
"description": "id",
"name": "id",
"in": "path"
}
],
"responses": {
"200": {
"description": "{\"code\": 200, \"data\": [...]}",
"schema": {
"type": "string"
}
}
}
}
},
"/api/v1/org-team-match/update-players/{id}": {
"put": {
"security": [
...
...
@@ -6251,6 +6341,9 @@ var doc = `{
"clubContacts": {
"type": "string"
},
"clubContactsEn": {
"type": "string"
},
"clubLogo": {
"type": "string"
},
...
...
@@ -6263,6 +6356,9 @@ var doc = `{
"clubQrcode": {
"type": "string"
},
"clubUserName": {
"type": "string"
},
"createBy": {
"type": "integer"
},
...
...
@@ -6277,6 +6373,9 @@ var doc = `{
"clubContacts": {
"type": "string"
},
"clubContactsEn": {
"type": "string"
},
"clubLogo": {
"type": "string"
},
...
...
@@ -6289,6 +6388,9 @@ var doc = `{
"clubQrcode": {
"type": "string"
},
"clubUserName": {
"type": "string"
},
"createBy": {
"type": "integer"
},
...
...
@@ -6414,6 +6516,10 @@ var doc = `{
"dto.OrgMatchEvaluateGetPageReq": {
"type": "object",
"properties": {
"contentStatus": {
"description": "教练评价状态 1 待评价 2 评价完成",
"type": "string"
},
"divisionId": {
"description": "赛区id",
"type": "string"
...
...
@@ -6456,6 +6562,9 @@ var doc = `{
"content": {
"type": "string"
},
"contentStatus": {
"type": "string"
},
"createBy": {
"type": "integer"
},
...
...
@@ -7065,6 +7174,12 @@ var doc = `{
"name": {
"type": "string"
},
"name_en": {
"type": "string"
},
"roleId": {
"type": "string"
},
"sex": {
"type": "string"
},
...
...
@@ -7082,6 +7197,9 @@ var doc = `{
},
"userImg": {
"type": "string"
},
"userName": {
"type": "string"
}
}
},
...
...
@@ -7975,6 +8093,9 @@ var doc = `{
"nickName": {
"type": "string"
},
"nickNameEn": {
"type": "string"
},
"password": {
"type": "string"
},
...
...
@@ -8027,6 +8148,9 @@ var doc = `{
"nickName": {
"type": "string"
},
"nickNameEn": {
"type": "string"
},
"phone": {
"type": "string"
},
...
...
docs/swagger.json
View file @
339630e0
...
...
@@ -1283,6 +1283,72 @@
}
}
},
"/api/v1/org-club-player/get"
:
{
"get"
:
{
"security"
:
[
{
"Bearer"
:
[]
}
],
"description"
:
"
\u
003c俱乐部
\u
003e获取球员比赛详情"
,
"tags"
:
[
"
\u
003c俱乐部
\u
003e球员"
],
"summary"
:
"
\u
003c俱乐部
\u
003e获取球员比赛详情"
,
"parameters"
:
[
{
"type"
:
"string"
,
"description"
:
"id"
,
"name"
:
"id"
,
"in"
:
"path"
}
],
"responses"
:
{
"200"
:
{
"description"
:
"{
\"
code
\"
: 200,
\"
data
\"
: [...]}"
,
"schema"
:
{
"type"
:
"string"
}
}
}
}
},
"/api/v1/org-club-player/get-match"
:
{
"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"
}
],
"responses"
:
{
"200"
:
{
"description"
:
"{
\"
code
\"
: 200,
\"
data
\"
: [...]}"
,
"schema"
:
{
"type"
:
"string"
}
}
}
}
},
"/api/v1/org-club-team"
:
{
"get"
:
{
"security"
:
[
...
...
@@ -1319,6 +1385,36 @@
}
}
},
"/api/v1/org-club-team/get"
:
{
"get"
:
{
"security"
:
[
{
"Bearer"
:
[]
}
],
"description"
:
"
\u
003c俱乐部
\u
003e获取球队比赛详情"
,
"tags"
:
[
"
\u
003c俱乐部
\u
003e球队"
],
"summary"
:
"
\u
003c俱乐部
\u
003e获取球队比赛详情"
,
"parameters"
:
[
{
"type"
:
"string"
,
"description"
:
"id"
,
"name"
:
"id"
,
"in"
:
"path"
}
],
"responses"
:
{
"200"
:
{
"description"
:
"{
\"
code
\"
: 200,
\"
data
\"
: [...]}"
,
"schema"
:
{
"type"
:
"string"
}
}
}
}
},
"/api/v1/org-club-team/get-match"
:
{
"get"
:
{
"security"
:
[
...
...
@@ -1355,18 +1451,18 @@
}
}
},
"/api/v1/org-club-team/
{id}
"
:
{
"/api/v1/org-club-team/
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"
,
...
...
@@ -1790,11 +1886,11 @@
"Bearer"
:
[]
}
],
"description"
:
"获取联赛列表"
,
"description"
:
"
\u
003c赛事
\u
003e
获取联赛列表"
,
"tags"
:
[
"联赛"
"
\u
003c赛事
\u
003e
联赛"
],
"summary"
:
"获取联赛列表"
,
"summary"
:
"
\u
003c赛事
\u
003e
获取联赛列表"
,
"parameters"
:
[
{
"type"
:
"integer"
,
...
...
@@ -1824,14 +1920,14 @@
"Bearer"
:
[]
}
],
"description"
:
"创建联赛"
,
"description"
:
"
\u
003c赛事
\u
003e
创建联赛"
,
"consumes"
:
[
"application/json"
],
"tags"
:
[
"联赛"
"
\u
003c赛事
\u
003e
联赛"
],
"summary"
:
"创建联赛"
,
"summary"
:
"
\u
003c赛事
\u
003e
创建联赛"
,
"parameters"
:
[
{
"description"
:
"data"
,
...
...
@@ -1858,11 +1954,11 @@
"Bearer"
:
[]
}
],
"description"
:
"删除联赛"
,
"description"
:
"
\u
003c赛事
\u
003e
删除联赛"
,
"tags"
:
[
"联赛"
"
\u
003c赛事
\u
003e
联赛"
],
"summary"
:
"删除联赛"
,
"summary"
:
"
\u
003c赛事
\u
003e
删除联赛"
,
"parameters"
:
[
{
"description"
:
"ids"
,
...
...
@@ -1893,11 +1989,11 @@
"Bearer"
:
[]
}
],
"description"
:
"获取联赛"
,
"description"
:
"
\u
003c赛事
\u
003e
获取联赛"
,
"tags"
:
[
"联赛"
"
\u
003c赛事
\u
003e
联赛"
],
"summary"
:
"获取联赛"
,
"summary"
:
"
\u
003c赛事
\u
003e
获取联赛"
,
"parameters"
:
[
{
"type"
:
"string"
,
...
...
@@ -1921,14 +2017,14 @@
"Bearer"
:
[]
}
],
"description"
:
"修改联赛"
,
"description"
:
"
\u
003c赛事
\u
003e
修改联赛"
,
"consumes"
:
[
"application/json"
],
"tags"
:
[
"联赛"
"
\u
003c赛事
\u
003e
联赛"
],
"summary"
:
"修改联赛"
,
"summary"
:
"
\u
003c赛事
\u
003e
修改联赛"
,
"parameters"
:
[
{
"description"
:
"body"
,
...
...
@@ -2771,11 +2867,11 @@
"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"
:
"integer"
,
...
...
@@ -3034,42 +3130,6 @@
}
}
},
"/api/v1/org-player/get-match"
:
{
"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"
}
],
"responses"
:
{
"200"
:
{
"description"
:
"{
\"
code
\"
: 200,
\"
data
\"
: [...]}"
,
"schema"
:
{
"type"
:
"string"
}
}
}
}
},
"/api/v1/org-player/{id}"
:
{
"get"
:
{
"security"
:
[
...
...
@@ -3077,11 +3137,11 @@
"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"
,
...
...
@@ -3700,6 +3760,36 @@
}
}
},
"/api/v1/org-team-match/info/{id}"
:
{
"get"
:
{
"security"
:
[
{
"Bearer"
:
[]
}
],
"description"
:
"
\u
003c赛事
\u
003e获取比赛附加数据(比赛详情,联赛,赛区,赛季,球队)"
,
"tags"
:
[
"
\u
003c赛事
\u
003e比赛"
],
"summary"
:
"
\u
003c赛事
\u
003e获取比赛附加数据(比赛详情,联赛,赛区,赛季,球队)"
,
"parameters"
:
[
{
"type"
:
"string"
,
"description"
:
"id"
,
"name"
:
"id"
,
"in"
:
"path"
}
],
"responses"
:
{
"200"
:
{
"description"
:
"{
\"
code
\"
: 200,
\"
data
\"
: [...]}"
,
"schema"
:
{
"type"
:
"string"
}
}
}
}
},
"/api/v1/org-team-match/update-players/{id}"
:
{
"put"
:
{
"security"
:
[
...
...
@@ -6234,6 +6324,9 @@
"clubContacts"
:
{
"type"
:
"string"
},
"clubContactsEn"
:
{
"type"
:
"string"
},
"clubLogo"
:
{
"type"
:
"string"
},
...
...
@@ -6246,6 +6339,9 @@
"clubQrcode"
:
{
"type"
:
"string"
},
"clubUserName"
:
{
"type"
:
"string"
},
"createBy"
:
{
"type"
:
"integer"
},
...
...
@@ -6260,6 +6356,9 @@
"clubContacts"
:
{
"type"
:
"string"
},
"clubContactsEn"
:
{
"type"
:
"string"
},
"clubLogo"
:
{
"type"
:
"string"
},
...
...
@@ -6272,6 +6371,9 @@
"clubQrcode"
:
{
"type"
:
"string"
},
"clubUserName"
:
{
"type"
:
"string"
},
"createBy"
:
{
"type"
:
"integer"
},
...
...
@@ -6397,6 +6499,10 @@
"dto.OrgMatchEvaluateGetPageReq"
:
{
"type"
:
"object"
,
"properties"
:
{
"contentStatus"
:
{
"description"
:
"教练评价状态 1 待评价 2 评价完成"
,
"type"
:
"string"
},
"divisionId"
:
{
"description"
:
"赛区id"
,
"type"
:
"string"
...
...
@@ -6439,6 +6545,9 @@
"content"
:
{
"type"
:
"string"
},
"contentStatus"
:
{
"type"
:
"string"
},
"createBy"
:
{
"type"
:
"integer"
},
...
...
@@ -7048,6 +7157,12 @@
"name"
:
{
"type"
:
"string"
},
"name_en"
:
{
"type"
:
"string"
},
"roleId"
:
{
"type"
:
"string"
},
"sex"
:
{
"type"
:
"string"
},
...
...
@@ -7065,6 +7180,9 @@
},
"userImg"
:
{
"type"
:
"string"
},
"userName"
:
{
"type"
:
"string"
}
}
},
...
...
@@ -7958,6 +8076,9 @@
"nickName"
:
{
"type"
:
"string"
},
"nickNameEn"
:
{
"type"
:
"string"
},
"password"
:
{
"type"
:
"string"
},
...
...
@@ -8010,6 +8131,9 @@
"nickName"
:
{
"type"
:
"string"
},
"nickNameEn"
:
{
"type"
:
"string"
},
"phone"
:
{
"type"
:
"string"
},
...
...
docs/swagger.yaml
View file @
339630e0
...
...
@@ -58,6 +58,8 @@ definitions:
properties
:
clubContacts
:
type
:
string
clubContactsEn
:
type
:
string
clubLogo
:
type
:
string
clubMobile
:
...
...
@@ -66,6 +68,8 @@ definitions:
type
:
string
clubQrcode
:
type
:
string
clubUserName
:
type
:
string
createBy
:
type
:
integer
updateBy
:
...
...
@@ -75,6 +79,8 @@ definitions:
properties
:
clubContacts
:
type
:
string
clubContactsEn
:
type
:
string
clubLogo
:
type
:
string
clubMobile
:
...
...
@@ -83,6 +89,8 @@ definitions:
type
:
string
clubQrcode
:
type
:
string
clubUserName
:
type
:
string
createBy
:
type
:
integer
id
:
...
...
@@ -164,6 +172,9 @@ definitions:
type
:
object
dto.OrgMatchEvaluateGetPageReq
:
properties
:
contentStatus
:
description
:
教练评价状态 1 待评价 2 评价完成
type
:
string
divisionId
:
description
:
赛区id
type
:
string
...
...
@@ -194,6 +205,8 @@ definitions:
properties
:
content
:
type
:
string
contentStatus
:
type
:
string
createBy
:
type
:
integer
id
:
...
...
@@ -595,6 +608,10 @@ definitions:
type
:
integer
name
:
type
:
string
name_en
:
type
:
string
roleId
:
type
:
string
sex
:
type
:
string
signImg
:
...
...
@@ -607,6 +624,8 @@ definitions:
type
:
string
userImg
:
type
:
string
userName
:
type
:
string
type
:
object
dto.OrgTeamUserUpdateReq
:
properties
:
...
...
@@ -1215,6 +1234,8 @@ definitions:
type
:
string
nickName
:
type
:
string
nickNameEn
:
type
:
string
password
:
type
:
string
phone
:
...
...
@@ -1250,6 +1271,8 @@ definitions:
type
:
string
nickName
:
type
:
string
nickNameEn
:
type
:
string
phone
:
type
:
string
postId
:
...
...
@@ -2437,6 +2460,46 @@ paths:
summary
:
<俱乐部>创建俱乐部
tags
:
-
<俱乐部>俱乐部
/api/v1/org-club-player/get
:
get
:
description
:
<俱乐部>获取球员比赛详情
parameters
:
-
description
:
id
in
:
path
name
:
id
type
:
string
responses
:
"
200"
:
description
:
'
{"code":
200,
"data":
[...]}'
schema
:
type
:
string
security
:
-
Bearer
:
[]
summary
:
<俱乐部>获取球员比赛详情
tags
:
-
<俱乐部>球员
/api/v1/org-club-player/get-match
:
get
:
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
:
-
<俱乐部>球员
/api/v1/org-club-team
:
get
:
description
:
<俱乐部>获取球队数据列表
...
...
@@ -2459,7 +2522,7 @@ paths:
summary
:
<俱乐部>获取球队数据列表
tags
:
-
<俱乐部>球队
/api/v1/org-club-team/
{id}
:
/api/v1/org-club-team/
get
:
get
:
description
:
<俱乐部>获取球队比赛详情
parameters
:
...
...
@@ -2499,6 +2562,24 @@ paths:
summary
:
<俱乐部>获取球队比赛列表
tags
:
-
<俱乐部>球队
/api/v1/org-club-team/info
:
get
:
description
:
<赛事>获取比赛附加数据(比赛详情,联赛,赛区,赛季,球队)
parameters
:
-
description
:
id
in
:
path
name
:
id
type
:
string
responses
:
"
200"
:
description
:
'
{"code":
200,
"data":
[...]}'
schema
:
type
:
string
security
:
-
Bearer
:
[]
summary
:
<赛事>获取比赛附加数据(比赛详情,联赛,赛区,赛季,球队)
tags
:
-
<赛事>比赛
/api/v1/org-club-user
:
delete
:
description
:
删除俱乐部账户信息
...
...
@@ -2744,7 +2825,7 @@ paths:
-
<赛事>赛区
/api/v1/org-league
:
delete
:
description
:
删除联赛
description
:
<赛事>
删除联赛
parameters
:
-
description
:
ids
in
:
body
...
...
@@ -2760,11 +2841,11 @@ paths:
type
:
string
security
:
-
Bearer
:
[]
summary
:
删除联赛
summary
:
<赛事>
删除联赛
tags
:
-
联赛
-
<赛事>
联赛
get
:
description
:
获取联赛列表
description
:
<赛事>
获取联赛列表
parameters
:
-
description
:
页条数
in
:
query
...
...
@@ -2781,13 +2862,13 @@ paths:
type
:
string
security
:
-
Bearer
:
[]
summary
:
获取联赛列表
summary
:
<赛事>
获取联赛列表
tags
:
-
联赛
-
<赛事>
联赛
post
:
consumes
:
-
application/json
description
:
创建联赛
description
:
<赛事>
创建联赛
parameters
:
-
description
:
data
in
:
body
...
...
@@ -2802,12 +2883,12 @@ paths:
type
:
string
security
:
-
Bearer
:
[]
summary
:
创建联赛
summary
:
<赛事>
创建联赛
tags
:
-
联赛
-
<赛事>
联赛
/api/v1/org-league/{id}
:
get
:
description
:
获取联赛
description
:
<赛事>
获取联赛
parameters
:
-
description
:
id
in
:
path
...
...
@@ -2820,13 +2901,13 @@ paths:
type
:
string
security
:
-
Bearer
:
[]
summary
:
获取联赛
summary
:
<赛事>
获取联赛
tags
:
-
联赛
-
<赛事>
联赛
put
:
consumes
:
-
application/json
description
:
修改联赛
description
:
<赛事>
修改联赛
parameters
:
-
description
:
body
in
:
body
...
...
@@ -2841,9 +2922,9 @@ paths:
type
:
string
security
:
-
Bearer
:
[]
summary
:
修改联赛
summary
:
<赛事>
修改联赛
tags
:
-
联赛
-
<赛事>
联赛
/api/v1/org-match
:
delete
:
description
:
<赛事>删除比赛
...
...
@@ -3363,7 +3444,7 @@ paths:
tags
:
-
<球队>球员
get
:
description
:
<
俱乐部>获取球员数据
列表
description
:
<
球队>获取球员
列表
parameters
:
-
description
:
页条数
in
:
query
...
...
@@ -3380,9 +3461,9 @@ paths:
type
:
string
security
:
-
Bearer
:
[]
summary
:
<
俱乐部>获取球员数据
列表
summary
:
<
球队>获取球员
列表
tags
:
-
<
俱乐部
>球员
-
<
球队
>球员
post
:
consumes
:
-
application/json
...
...
@@ -3508,7 +3589,7 @@ paths:
-
球员账户信息
/api/v1/org-player/{id}
:
get
:
description
:
<
俱乐部>获取球员比赛详情
description
:
<
球队>获取球员
parameters
:
-
description
:
id
in
:
path
...
...
@@ -3521,9 +3602,9 @@ paths:
type
:
string
security
:
-
Bearer
:
[]
summary
:
<
俱乐部>获取球员比赛详情
summary
:
<
球队>获取球员
tags
:
-
<
俱乐部
>球员
-
<
球队
>球员
put
:
consumes
:
-
application/json
...
...
@@ -3545,28 +3626,6 @@ paths:
summary
:
<球队>修改球员
tags
:
-
<球队>球员
/api/v1/org-player/get-match
:
get
:
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
:
-
<俱乐部>球员
/api/v1/org-season
:
delete
:
description
:
删除赛季
...
...
@@ -3912,6 +3971,24 @@ paths:
summary
:
<球队>获取比赛所有球员
tags
:
-
<球队>比赛
/api/v1/org-team-match/info/{id}
:
get
:
description
:
<赛事>获取比赛附加数据(比赛详情,联赛,赛区,赛季,球队)
parameters
:
-
description
:
id
in
:
path
name
:
id
type
:
string
responses
:
"
200"
:
description
:
'
{"code":
200,
"data":
[...]}'
schema
:
type
:
string
security
:
-
Bearer
:
[]
summary
:
<赛事>获取比赛附加数据(比赛详情,联赛,赛区,赛季,球队)
tags
:
-
<赛事>比赛
/api/v1/org-team-match/update-players/{id}
:
put
:
consumes
:
...
...
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