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
edcfa60d
Commit
edcfa60d
authored
3 years ago
by
haoyanbin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Search
parent
418d9ed4
Changes
24
Show whitespace changes
Inline
Side-by-side
Showing
24 changed files
with
1875 additions
and
682 deletions
+1875
-682
org_ad.go
app/operate/apis/org_ad.go
+60
-59
org_club_player.go
app/operate/apis/org_club_player.go
+1
-0
org_club_team.go
app/operate/apis/org_club_team.go
+2
-1
org_division.go
app/operate/apis/org_division.go
+60
-59
org_league.go
app/operate/apis/org_league.go
+60
-59
org_match.go
app/operate/apis/org_match.go
+2
-1
org_match_evaluate.go
app/operate/apis/org_match_evaluate.go
+1
-0
org_match_team_player.go
app/operate/apis/org_match_team_player.go
+60
-59
org_news.go
app/operate/apis/org_news.go
+60
-59
org_season.go
app/operate/apis/org_season.go
+2
-1
org_team_club.go
app/operate/apis/org_team_club.go
+19
-19
org_team_match.go
app/operate/apis/org_team_match.go
+2
-1
org_team_player.go
app/operate/apis/org_team_player.go
+1
-0
org_team_team.go
app/operate/apis/org_team_team.go
+1
-0
org_ad.go
app/operate/service/dto/org_ad.go
+67
-63
org_division.go
app/operate/service/dto/org_division.go
+34
-33
org_league.go
app/operate/service/dto/org_league.go
+1
-1
org_match.go
app/operate/service/dto/org_match.go
+5
-6
org_news.go
app/operate/service/dto/org_news.go
+47
-43
org_season.go
app/operate/service/dto/org_season.go
+76
-60
org_season.go
app/operate/service/org_season.go
+32
-28
docs.go
docs/docs.go
+478
-46
swagger.json
docs/swagger.json
+478
-46
swagger.yaml
docs/swagger.yaml
+326
-38
No files found.
app/operate/apis/org_ad.go
View file @
edcfa60d
...
...
@@ -24,6 +24,7 @@ type OrgAd struct {
// @Tags <运营>广告
// @Param pageSize query int false "页条数"
// @Param pageIndex query int false "页码"
// @Param data body dto.OrgAdGetPageReq true "data"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/org-ad [get]
// @Security Bearer
...
...
@@ -84,7 +85,7 @@ func (e OrgAd) Get(c *gin.Context) {
return
}
e
.
OK
(
object
,
"查询成功"
)
e
.
OK
(
object
,
"查询成功"
)
}
// Insert <运营>创建广告
...
...
@@ -153,7 +154,7 @@ func (e OrgAd) Update(c *gin.Context) {
e
.
Error
(
500
,
err
,
fmt
.
Sprintf
(
"修改广告 失败,
\r\n
失败信息 %s"
,
err
.
Error
()))
return
}
e
.
OK
(
req
.
GetId
(),
"修改成功"
)
e
.
OK
(
req
.
GetId
(),
"修改成功"
)
}
// Delete <运营>删除广告
...
...
@@ -186,5 +187,5 @@ func (e OrgAd) Delete(c *gin.Context) {
e
.
Error
(
500
,
err
,
fmt
.
Sprintf
(
"删除广告失败,
\r\n
失败信息 %s"
,
err
.
Error
()))
return
}
e
.
OK
(
req
.
GetId
(),
"删除成功"
)
e
.
OK
(
req
.
GetId
(),
"删除成功"
)
}
This diff is collapsed.
Click to expand it.
app/operate/apis/org_club_player.go
View file @
edcfa60d
...
...
@@ -24,6 +24,7 @@ type OrgClubPlayer struct {
// @Tags <俱乐部>球员
// @Param pageSize query int false "页条数"
// @Param pageIndex query int false "页码"
// @Param data body dto.OrgClubPlayerGetPageReq true "data"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/org-club-player [get]
// @Security Bearer
...
...
This diff is collapsed.
Click to expand it.
app/operate/apis/org_club_team.go
View file @
edcfa60d
...
...
@@ -25,6 +25,7 @@ type OrgClubTeam struct {
// @Tags <俱乐部>球队
// @Param pageSize query int false "页条数"
// @Param pageIndex query int false "页码"
// @Param data body dto.OrgClubTeamGetPageReq true "data"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/org-club-team [get]
// @Security Bearer
...
...
@@ -197,7 +198,7 @@ func (e OrgClubTeam) GetInfo(c *gin.Context) {
//赛季列表
sOrgSeason
:=
service
.
OrgSeason
{}
listOrgSeason
:=
make
([]
models
.
OrgSeason
,
0
)
listOrgSeason
:=
make
([]
dto
.
OrgSeasonGetPageReply
,
0
)
var
countOrgSeason
int64
=
0
err
=
e
.
MakeContext
(
c
)
.
MakeOrm
()
.
MakeService
(
&
sOrgSeason
.
Service
)
.
Errors
...
...
This diff is collapsed.
Click to expand it.
app/operate/apis/org_division.go
View file @
edcfa60d
...
...
@@ -24,6 +24,7 @@ type OrgDivision struct {
// @Tags <赛事>赛区
// @Param pageSize query int false "页条数"
// @Param pageIndex query int false "页码"
// @Param data body dto.OrgDivisionGetPageReq true "data"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/org-division [get]
// @Security Bearer
...
...
@@ -84,7 +85,7 @@ func (e OrgDivision) Get(c *gin.Context) {
return
}
e
.
OK
(
object
,
"查询成功"
)
e
.
OK
(
object
,
"查询成功"
)
}
// Insert <赛事>创建赛区
...
...
@@ -153,7 +154,7 @@ func (e OrgDivision) Update(c *gin.Context) {
e
.
Error
(
500
,
err
,
fmt
.
Sprintf
(
"修改赛区 失败,
\r\n
失败信息 %s"
,
err
.
Error
()))
return
}
e
.
OK
(
req
.
GetId
(),
"修改成功"
)
e
.
OK
(
req
.
GetId
(),
"修改成功"
)
}
// Delete <赛事>删除赛区
...
...
@@ -186,5 +187,5 @@ func (e OrgDivision) Delete(c *gin.Context) {
e
.
Error
(
500
,
err
,
fmt
.
Sprintf
(
"删除赛区失败,
\r\n
失败信息 %s"
,
err
.
Error
()))
return
}
e
.
OK
(
req
.
GetId
(),
"删除成功"
)
e
.
OK
(
req
.
GetId
(),
"删除成功"
)
}
This diff is collapsed.
Click to expand it.
app/operate/apis/org_league.go
View file @
edcfa60d
...
...
@@ -24,6 +24,7 @@ type OrgLeague struct {
// @Tags <赛事>联赛
// @Param pageSize query int false "页条数"
// @Param pageIndex query int false "页码"
// @Param data body dto.OrgLeagueGetPageReq true "data"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/org-league [get]
// @Security Bearer
...
...
@@ -84,7 +85,7 @@ func (e OrgLeague) Get(c *gin.Context) {
return
}
e
.
OK
(
object
,
"查询成功"
)
e
.
OK
(
object
,
"查询成功"
)
}
// Insert <赛事>创建联赛
...
...
@@ -153,7 +154,7 @@ func (e OrgLeague) Update(c *gin.Context) {
e
.
Error
(
500
,
err
,
fmt
.
Sprintf
(
"修改联赛 失败,
\r\n
失败信息 %s"
,
err
.
Error
()))
return
}
e
.
OK
(
req
.
GetId
(),
"修改成功"
)
e
.
OK
(
req
.
GetId
(),
"修改成功"
)
}
// Delete <赛事>删除联赛
...
...
@@ -186,5 +187,5 @@ func (e OrgLeague) Delete(c *gin.Context) {
e
.
Error
(
500
,
err
,
fmt
.
Sprintf
(
"删除联赛失败,
\r\n
失败信息 %s"
,
err
.
Error
()))
return
}
e
.
OK
(
req
.
GetId
(),
"删除成功"
)
e
.
OK
(
req
.
GetId
(),
"删除成功"
)
}
This diff is collapsed.
Click to expand it.
app/operate/apis/org_match.go
View file @
edcfa60d
...
...
@@ -26,6 +26,7 @@ type OrgMatch struct {
// @Tags <赛事>比赛
// @Param pageSize query int false "页条数"
// @Param pageIndex query int false "页码"
// @Param data body dto.OrgMatchGetPageReq true "data"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/org-match [get]
// @Security Bearer
...
...
@@ -106,7 +107,7 @@ func (e OrgMatch) GetInfo(c *gin.Context) {
//赛季列表
sOrgSeason
:=
service
.
OrgSeason
{}
listOrgSeason
:=
make
([]
models
.
OrgSeason
,
0
)
listOrgSeason
:=
make
([]
dto
.
OrgSeasonGetPageReply
,
0
)
var
countOrgSeason
int64
=
0
err
=
e
.
MakeContext
(
c
)
.
MakeOrm
()
.
MakeService
(
&
sOrgSeason
.
Service
)
.
Errors
...
...
This diff is collapsed.
Click to expand it.
app/operate/apis/org_match_evaluate.go
View file @
edcfa60d
...
...
@@ -26,6 +26,7 @@ type OrgMatchEvaluate struct {
// @Param data body dto.OrgMatchEvaluateGetPageReq true "body"
// @Param pageSize query int false "页条数"
// @Param pageIndex query int false "页码"
// @Param data body dto.OrgMatchEvaluateGetPageReq true "data"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/org-match-evaluate [get]
// @Security Bearer
...
...
This diff is collapsed.
Click to expand it.
app/operate/apis/org_match_team_player.go
View file @
edcfa60d
...
...
@@ -24,6 +24,7 @@ type OrgMatchTeamPlayer struct {
// @Tags 比赛球员数据
// @Param pageSize query int false "页条数"
// @Param pageIndex query int false "页码"
// @Param data body dto.OrgMatchTeamPlayerGetPageReq true "data"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/org-match-team-player [get]
// @Security Bearer
...
...
@@ -84,7 +85,7 @@ func (e OrgMatchTeamPlayer) Get(c *gin.Context) {
return
}
e
.
OK
(
object
,
"查询成功"
)
e
.
OK
(
object
,
"查询成功"
)
}
// Insert 创建比赛球员数据
...
...
@@ -153,7 +154,7 @@ func (e OrgMatchTeamPlayer) Update(c *gin.Context) {
e
.
Error
(
500
,
err
,
fmt
.
Sprintf
(
"修改比赛球员数据 失败,
\r\n
失败信息 %s"
,
err
.
Error
()))
return
}
e
.
OK
(
req
.
GetId
(),
"修改成功"
)
e
.
OK
(
req
.
GetId
(),
"修改成功"
)
}
// Delete 删除比赛球员数据
...
...
@@ -186,5 +187,5 @@ func (e OrgMatchTeamPlayer) Delete(c *gin.Context) {
e
.
Error
(
500
,
err
,
fmt
.
Sprintf
(
"删除比赛球员数据失败,
\r\n
失败信息 %s"
,
err
.
Error
()))
return
}
e
.
OK
(
req
.
GetId
(),
"删除成功"
)
e
.
OK
(
req
.
GetId
(),
"删除成功"
)
}
This diff is collapsed.
Click to expand it.
app/operate/apis/org_news.go
View file @
edcfa60d
...
...
@@ -24,6 +24,7 @@ type OrgNews struct {
// @Tags 新闻
// @Param pageSize query int false "页条数"
// @Param pageIndex query int false "页码"
// @Param data body dto.OrgNewsGetPageReq true "data"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/org-news [get]
// @Security Bearer
...
...
@@ -84,7 +85,7 @@ func (e OrgNews) Get(c *gin.Context) {
return
}
e
.
OK
(
object
,
"查询成功"
)
e
.
OK
(
object
,
"查询成功"
)
}
// Insert 创建新闻
...
...
@@ -153,7 +154,7 @@ func (e OrgNews) Update(c *gin.Context) {
e
.
Error
(
500
,
err
,
fmt
.
Sprintf
(
"修改新闻 失败,
\r\n
失败信息 %s"
,
err
.
Error
()))
return
}
e
.
OK
(
req
.
GetId
(),
"修改成功"
)
e
.
OK
(
req
.
GetId
(),
"修改成功"
)
}
// Delete 删除新闻
...
...
@@ -186,5 +187,5 @@ func (e OrgNews) Delete(c *gin.Context) {
e
.
Error
(
500
,
err
,
fmt
.
Sprintf
(
"删除新闻失败,
\r\n
失败信息 %s"
,
err
.
Error
()))
return
}
e
.
OK
(
req
.
GetId
(),
"删除成功"
)
e
.
OK
(
req
.
GetId
(),
"删除成功"
)
}
This diff is collapsed.
Click to expand it.
app/operate/apis/org_season.go
View file @
edcfa60d
...
...
@@ -23,6 +23,7 @@ type OrgSeason struct {
// @Tags <赛事>赛季
// @Param pageSize query int false "页条数"
// @Param pageIndex query int false "页码"
// @Param data body dto.OrgSeasonGetPageReq true "data"
// @Success 200 {string} string {data=response.Page{list=[]models.OrgSeason}} "{"code": 200, "data": [...]}"
// @Router /api/v1/org-season [get]
// @Security Bearer
...
...
@@ -41,7 +42,7 @@ func (e OrgSeason) GetPage(c *gin.Context) {
}
p
:=
actions
.
GetPermissionFromContext
(
c
)
list
:=
make
([]
models
.
OrgSeason
,
0
)
list
:=
make
([]
dto
.
OrgSeasonGetPageReply
,
0
)
var
count
int64
err
=
s
.
GetPage
(
&
req
,
p
,
&
list
,
&
count
)
...
...
This diff is collapsed.
Click to expand it.
app/operate/apis/org_team_club.go
View file @
edcfa60d
...
...
@@ -48,7 +48,7 @@ func (e OrgTeamClub) Get(c *gin.Context) {
return
}
e
.
OK
(
object
,
"查询成功"
)
e
.
OK
(
object
,
"查询成功"
)
}
// Update <球队>修改俱乐部
...
...
@@ -82,5 +82,5 @@ func (e OrgTeamClub) Update(c *gin.Context) {
e
.
Error
(
500
,
err
,
fmt
.
Sprintf
(
"修改俱乐部 失败,
\r\n
失败信息 %s"
,
err
.
Error
()))
return
}
e
.
OK
(
req
.
GetId
(),
"修改成功"
)
e
.
OK
(
req
.
GetId
(),
"修改成功"
)
}
This diff is collapsed.
Click to expand it.
app/operate/apis/org_team_match.go
View file @
edcfa60d
...
...
@@ -26,6 +26,7 @@ type OrgTeamMatch struct {
// @Tags <球队>比赛
// @Param pageSize query int false "页条数"
// @Param pageIndex query int false "页码"
// @Param data body dto.OrgTeamMatchGetPageReq true "data"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/org-team-match [get]
// @Security Bearer
...
...
@@ -310,7 +311,7 @@ func (e OrgTeamMatch) GetInfo(c *gin.Context) {
//赛季列表
sOrgSeason
:=
service
.
OrgSeason
{}
listOrgSeason
:=
make
([]
models
.
OrgSeason
,
0
)
listOrgSeason
:=
make
([]
dto
.
OrgSeasonGetPageReply
,
0
)
var
countOrgSeason
int64
=
0
err
=
e
.
MakeContext
(
c
)
.
MakeOrm
()
.
MakeService
(
&
sOrgSeason
.
Service
)
.
Errors
...
...
This diff is collapsed.
Click to expand it.
app/operate/apis/org_team_player.go
View file @
edcfa60d
...
...
@@ -24,6 +24,7 @@ type OrgTeamPlayer struct {
// @Tags <球队>球员表现
// @Param pageSize query int false "页条数"
// @Param pageIndex query int false "页码"
// @Param data body dto.OrgTeamPlayerGetPageReq true "data"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/org-team-player [get]
// @Security Bearer
...
...
This diff is collapsed.
Click to expand it.
app/operate/apis/org_team_team.go
View file @
edcfa60d
...
...
@@ -24,6 +24,7 @@ type OrgTeamTeam struct {
// @Tags <球队>球队表现
// @Param pageSize query int false "页条数"
// @Param pageIndex query int false "页码"
// @Param data body dto.OrgTeamTeamGetPageReq true "data"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/org-team-team [get]
// @Security Bearer
...
...
This diff is collapsed.
Click to expand it.
app/operate/service/dto/org_ad.go
View file @
edcfa60d
...
...
@@ -9,10 +9,14 @@ import (
type
OrgAdGetPageReq
struct
{
dto
.
Pagination
`search:"-"`
OrgAdOrder
adName
string
`form:"adName" search:"type:contains;column:ad_name;table:org_ad"`
StartTime
string
`form:"startTime" search:"type:gte;column:created_at;table:org_ad" comment:"开始时间"`
EndTime
string
`form:"endTime" search:"type:lte;column:created_at;table:org_ad" comment:"结束时间"`
Status
string
`form:"status" search:"type:exact;column:status;table:org_ad"`
}
type
OrgAdOrder
struct
{
Id
int
`form:"idOrder" search:"type:order;column:id;table:org_ad"`
type
OrgAdOrder
struct
{
Id
int
`form:"idOrder" search:"type:order;column:id;table:org_ad"`
UserId
string
`form:"userIdOrder" search:"type:order;column:user_id;table:org_ad"`
AdName
string
`form:"adNameOrder" search:"type:order;column:ad_name;table:org_ad"`
AdType
string
`form:"adTypeOrder" search:"type:order;column:ad_type;table:org_ad"`
...
...
@@ -26,7 +30,6 @@ type OrgAdOrder struct {Id int `form:"idOrder" search:"type:order;column:id;tab
CreatedAt
time
.
Time
`form:"createdAtOrder" search:"type:order;column:created_at;table:org_ad"`
UpdatedAt
time
.
Time
`form:"updatedAtOrder" search:"type:order;column:updated_at;table:org_ad"`
DeletedAt
time
.
Time
`form:"deletedAtOrder" search:"type:order;column:deleted_at;table:org_ad"`
}
func
(
m
*
OrgAdGetPageReq
)
GetNeedSearch
()
interface
{}
{
...
...
@@ -48,7 +51,7 @@ type OrgAdInsertReq struct {
func
(
s
*
OrgAdInsertReq
)
Generate
(
model
*
models
.
OrgAd
)
{
if
s
.
Id
==
0
{
model
.
Model
=
common
.
Model
{
Id
:
s
.
Id
}
model
.
Model
=
common
.
Model
{
Id
:
s
.
Id
}
}
model
.
UserId
=
s
.
UserId
model
.
AdName
=
s
.
AdName
...
...
@@ -79,7 +82,7 @@ type OrgAdUpdateReq struct {
func
(
s
*
OrgAdUpdateReq
)
Generate
(
model
*
models
.
OrgAd
)
{
if
s
.
Id
==
0
{
model
.
Model
=
common
.
Model
{
Id
:
s
.
Id
}
model
.
Model
=
common
.
Model
{
Id
:
s
.
Id
}
}
model
.
UserId
=
s
.
UserId
model
.
AdName
=
s
.
AdName
...
...
@@ -99,6 +102,7 @@ func (s *OrgAdUpdateReq) GetId() interface{} {
type
OrgAdGetReq
struct
{
Id
int
`uri:"id"`
}
func
(
s
*
OrgAdGetReq
)
GetId
()
interface
{}
{
return
s
.
Id
}
...
...
This diff is collapsed.
Click to expand it.
app/operate/service/dto/org_division.go
View file @
edcfa60d
...
...
@@ -9,10 +9,11 @@ import (
type
OrgDivisionGetPageReq
struct
{
dto
.
Pagination
`search:"-"`
OrgDivisionOrder
DivisionName
string
`form:"divisionName" search:"type:contains;column:division_name;table:org_division" comment:"赛区名称"`
//赛区名称
}
type
OrgDivisionOrder
struct
{
Id
int
`form:"idOrder" search:"type:order;column:id;table:org_division"`
type
OrgDivisionOrder
struct
{
Id
int
`form:"idOrder" search:"type:order;column:id;table:org_division"`
DivisionName
string
`form:"divisionNameOrder" search:"type:order;column:division_name;table:org_division"`
Status
string
`form:"statusOrder" search:"type:order;column:status;table:org_division"`
CreateBy
string
`form:"createByOrder" search:"type:order;column:create_by;table:org_division"`
...
...
@@ -20,7 +21,6 @@ type OrgDivisionOrder struct {Id int `form:"idOrder" search:"type:order;column:
CreatedAt
time
.
Time
`form:"createdAtOrder" search:"type:order;column:created_at;table:org_division"`
UpdatedAt
time
.
Time
`form:"updatedAtOrder" search:"type:order;column:updated_at;table:org_division"`
DeletedAt
time
.
Time
`form:"deletedAtOrder" search:"type:order;column:deleted_at;table:org_division"`
}
func
(
m
*
OrgDivisionGetPageReq
)
GetNeedSearch
()
interface
{}
{
...
...
@@ -36,7 +36,7 @@ type OrgDivisionInsertReq struct {
func
(
s
*
OrgDivisionInsertReq
)
Generate
(
model
*
models
.
OrgDivision
)
{
if
s
.
Id
==
0
{
model
.
Model
=
common
.
Model
{
Id
:
s
.
Id
}
model
.
Model
=
common
.
Model
{
Id
:
s
.
Id
}
}
model
.
DivisionName
=
s
.
DivisionName
model
.
Status
=
s
.
Status
...
...
@@ -55,7 +55,7 @@ type OrgDivisionUpdateReq struct {
func
(
s
*
OrgDivisionUpdateReq
)
Generate
(
model
*
models
.
OrgDivision
)
{
if
s
.
Id
==
0
{
model
.
Model
=
common
.
Model
{
Id
:
s
.
Id
}
model
.
Model
=
common
.
Model
{
Id
:
s
.
Id
}
}
model
.
DivisionName
=
s
.
DivisionName
model
.
Status
=
s
.
Status
...
...
@@ -69,6 +69,7 @@ func (s *OrgDivisionUpdateReq) GetId() interface{} {
type
OrgDivisionGetReq
struct
{
Id
int
`uri:"id"`
}
func
(
s
*
OrgDivisionGetReq
)
GetId
()
interface
{}
{
return
s
.
Id
}
...
...
This diff is collapsed.
Click to expand it.
app/operate/service/dto/org_league.go
View file @
edcfa60d
...
...
@@ -9,7 +9,7 @@ import (
type
OrgLeagueGetPageReq
struct
{
dto
.
Pagination
`search:"-"`
OrgLeagueOrder
LeagueName
string
`form:"leagueName" search:"type:contains;column:league_name;table:org_league" comment:"联赛级别"`
//联赛级别
}
type
OrgLeagueOrder
struct
{
...
...
This diff is collapsed.
Click to expand it.
app/operate/service/dto/org_match.go
View file @
edcfa60d
...
...
@@ -17,7 +17,6 @@ type OrgMatchGetPageReq struct {
Status
string
`form:"status" search:"type:exact;column:status;table:om" comment:"比赛状态 1 未开始 2 比赛中 3 已结束"`
MatchStartTime
string
`form:"matchStartTime" search:"type:gte;column:match_start_time;table:om" comment:"比赛开始时间"`
MatchEndTime
string
`form:"matchEndTime" search:"type:lte;column:match_end_time;table:om" comment:"比赛结束时间"`
OrgMatchOrder
}
type
OrgMatchGetPageReply
struct
{
...
...
@@ -43,7 +42,7 @@ type OrgMatchGetInfoReq struct {
type
OrgMatchGetInfoReply
struct
{
OrgMatch
models
.
OrgMatch
`form:"orgMatch"`
OrgLeagueList
[]
models
.
OrgLeague
`form:"orgLeagueList"`
OrgSeasonList
[]
models
.
OrgSeason
`form:"orgSeasonList"`
OrgSeasonList
[]
OrgSeasonGetPageReply
`form:"orgSeasonList"`
OrgDivisionList
[]
models
.
OrgDivision
`form:"orgDivisionList"`
OrgTeamList
[]
OrgTeamGetPageReply
`form:"orgTeamList"`
}
...
...
This diff is collapsed.
Click to expand it.
app/operate/service/dto/org_news.go
View file @
edcfa60d
...
...
@@ -9,10 +9,14 @@ import (
type
OrgNewsGetPageReq
struct
{
dto
.
Pagination
`search:"-"`
OrgNewsOrder
NewsName
string
`form:"newsName" search:"type:contains;column:news_name;table:org_news"`
StartTime
string
`form:"startTime" search:"type:gte;column:created_at;table:org_news" comment:"开始时间"`
EndTime
string
`form:"endTime" search:"type:lte;column:created_at;table:org_news" comment:"结束时间"`
Status
string
`form:"status" search:"type:exact;column:status;table:org_news"`
}
type
OrgNewsOrder
struct
{
Id
int
`form:"idOrder" search:"type:order;column:id;table:org_news"`
type
OrgNewsOrder
struct
{
Id
int
`form:"idOrder" search:"type:order;column:id;table:org_news"`
NewsName
string
`form:"newsNameOrder" search:"type:order;column:news_name;table:org_news"`
NewsTitle
string
`form:"newsTitleOrder" search:"type:order;column:news_title;table:org_news"`
NewsContent
string
`form:"newsContentOrder" search:"type:order;column:news_content;table:org_news"`
...
...
@@ -22,7 +26,6 @@ type OrgNewsOrder struct {Id int `form:"idOrder" search:"type:order;column:id;t
CreatedAt
time
.
Time
`form:"createdAtOrder" search:"type:order;column:created_at;table:org_news"`
UpdatedAt
time
.
Time
`form:"updatedAtOrder" search:"type:order;column:updated_at;table:org_news"`
DeletedAt
time
.
Time
`form:"deletedAtOrder" search:"type:order;column:deleted_at;table:org_news"`
}
func
(
m
*
OrgNewsGetPageReq
)
GetNeedSearch
()
interface
{}
{
...
...
@@ -40,7 +43,7 @@ type OrgNewsInsertReq struct {
func
(
s
*
OrgNewsInsertReq
)
Generate
(
model
*
models
.
OrgNews
)
{
if
s
.
Id
==
0
{
model
.
Model
=
common
.
Model
{
Id
:
s
.
Id
}
model
.
Model
=
common
.
Model
{
Id
:
s
.
Id
}
}
model
.
NewsName
=
s
.
NewsName
model
.
NewsTitle
=
s
.
NewsTitle
...
...
@@ -63,7 +66,7 @@ type OrgNewsUpdateReq struct {
func
(
s
*
OrgNewsUpdateReq
)
Generate
(
model
*
models
.
OrgNews
)
{
if
s
.
Id
==
0
{
model
.
Model
=
common
.
Model
{
Id
:
s
.
Id
}
model
.
Model
=
common
.
Model
{
Id
:
s
.
Id
}
}
model
.
NewsName
=
s
.
NewsName
model
.
NewsTitle
=
s
.
NewsTitle
...
...
@@ -79,6 +82,7 @@ func (s *OrgNewsUpdateReq) GetId() interface{} {
type
OrgNewsGetReq
struct
{
Id
int
`uri:"id"`
}
func
(
s
*
OrgNewsGetReq
)
GetId
()
interface
{}
{
return
s
.
Id
}
...
...
This diff is collapsed.
Click to expand it.
app/operate/service/dto/org_season.go
View file @
edcfa60d
...
...
@@ -9,7 +9,22 @@ import (
type
OrgSeasonGetPageReq
struct
{
dto
.
Pagination
`search:"-"`
OrgSeasonOrder
LeagueId
string
`form:"leagueId" search:"type:exact;column:league_id;table:os"`
SeasonId
string
`form:"seasonId" search:"type:exact;column:id;table:os"`
SeasonStartTime
string
`form:"seasonStartTime" search:"type:gte;column:start_time;table:os" comment:"比赛开始时间"`
SeasonEndTime
string
`form:"seasonEndTime" search:"type:lte;column:end_time;table:os" comment:"比赛结束时间"`
Status
string
`form:"status" search:"type:exact;column:status;table:os"`
}
type
OrgSeasonGetPageReply
struct
{
Id
string
`json:"id"`
LeagueId
string
`json:"leagueId"`
LeagueName
string
`json:"leagueName"`
SeasonName
string
`json:"seasonName"`
TotalRounds
string
`json:"totalRounds"`
StartTime
string
`json:"startTime"`
EndTime
string
`json:"endTime"`
Status
string
`json:"status"`
}
type
OrgSeasonGetReply
struct
{
...
...
@@ -17,7 +32,8 @@ type OrgSeasonGetReply struct {
OrgLeagueList
[]
models
.
OrgLeague
`form:"orgLeagueList"`
}
type
OrgSeasonOrder
struct
{
Id
int
`form:"idOrder" search:"type:order;column:id;table:org_season"`
type
OrgSeasonOrder
struct
{
Id
int
`form:"idOrder" search:"type:order;column:id;table:org_season"`
LeagueId
string
`form:"leagueIdOrder" search:"type:order;column:league_id;table:org_season"`
DivisionId
string
`form:"divisionIdOrder" search:"type:order;column:division_id;table:org_season"`
SeasonName
string
`form:"seasonNameOrder" search:"type:order;column:season_name;table:org_season"`
...
...
@@ -30,7 +46,6 @@ type OrgSeasonOrder struct {Id int `form:"idOrder" search:"type:order;column:id
CreatedAt
time
.
Time
`form:"createdAtOrder" search:"type:order;column:created_at;table:org_season"`
UpdatedAt
time
.
Time
`form:"updatedAtOrder" search:"type:order;column:updated_at;table:org_season"`
DeletedAt
time
.
Time
`form:"deletedAtOrder" search:"type:order;column:deleted_at;table:org_season"`
}
func
(
m
*
OrgSeasonGetPageReq
)
GetNeedSearch
()
interface
{}
{
...
...
@@ -51,7 +66,7 @@ type OrgSeasonInsertReq struct {
func
(
s
*
OrgSeasonInsertReq
)
Generate
(
model
*
models
.
OrgSeason
)
{
if
s
.
Id
==
0
{
model
.
Model
=
common
.
Model
{
Id
:
s
.
Id
}
model
.
Model
=
common
.
Model
{
Id
:
s
.
Id
}
}
model
.
LeagueId
=
s
.
LeagueId
model
.
DivisionId
=
s
.
DivisionId
...
...
@@ -80,7 +95,7 @@ type OrgSeasonUpdateReq struct {
func
(
s
*
OrgSeasonUpdateReq
)
Generate
(
model
*
models
.
OrgSeason
)
{
if
s
.
Id
==
0
{
model
.
Model
=
common
.
Model
{
Id
:
s
.
Id
}
model
.
Model
=
common
.
Model
{
Id
:
s
.
Id
}
}
model
.
LeagueId
=
s
.
LeagueId
model
.
DivisionId
=
s
.
DivisionId
...
...
@@ -99,6 +114,7 @@ func (s *OrgSeasonUpdateReq) GetId() interface{} {
type
OrgSeasonGetReq
struct
{
Id
int
`uri:"id"`
}
func
(
s
*
OrgSeasonGetReq
)
GetId
()
interface
{}
{
return
s
.
Id
}
...
...
This diff is collapsed.
Click to expand it.
app/operate/service/org_season.go
View file @
edcfa60d
...
...
@@ -17,15 +17,19 @@ type OrgSeason struct {
}
// GetPage 获取OrgSeason列表
func
(
e
*
OrgSeason
)
GetPage
(
c
*
dto
.
OrgSeasonGetPageReq
,
p
*
actions
.
DataPermission
,
list
*
[]
models
.
OrgSeason
,
count
*
int64
)
error
{
func
(
e
*
OrgSeason
)
GetPage
(
c
*
dto
.
OrgSeasonGetPageReq
,
p
*
actions
.
DataPermission
,
list
*
[]
dto
.
OrgSeasonGetPageReply
,
count
*
int64
)
error
{
var
err
error
var
data
models
.
OrgSeason
err
=
e
.
Orm
.
Model
(
&
data
)
.
err
=
e
.
Orm
.
Table
(
"org_season as os"
)
.
Joins
(
"left join org_league as ol on os.league_id=ol.id"
)
.
Select
(
"os.id, os.league_id, ol.league_name, os.season_name, os.total_rounds, os.start_time,"
+
"os.end_time, os.status"
)
.
Scopes
(
cDto
.
MakeCondition
(
c
.
GetNeedSearch
()),
cDto
.
Paginate
(
c
.
GetPageSize
(),
c
.
GetPageIndex
()),
actions
.
Permission
(
data
.
TableName
(),
p
),
cDto
.
PassDel
(
"os"
),
)
.
Find
(
list
)
.
Limit
(
-
1
)
.
Offset
(
-
1
)
.
Count
(
count
)
.
Error
...
...
This diff is collapsed.
Click to expand it.
docs/docs.go
View file @
edcfa60d
...
...
@@ -1054,6 +1054,15 @@ var doc = `{
"description": "页码",
"name": "pageIndex",
"in": "query"
},
{
"description": "data",
"name": "data",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/dto.OrgAdGetPageReq"
}
}
],
"responses": {
...
...
@@ -1333,6 +1342,15 @@ var doc = `{
"description": "页码",
"name": "pageIndex",
"in": "query"
},
{
"description": "data",
"name": "data",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/dto.OrgClubPlayerGetPageReq"
}
}
],
"responses": {
...
...
@@ -1435,6 +1453,15 @@ var doc = `{
"description": "页码",
"name": "pageIndex",
"in": "query"
},
{
"description": "data",
"name": "data",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/dto.OrgClubTeamGetPageReq"
}
}
],
"responses": {
...
...
@@ -1798,6 +1825,15 @@ var doc = `{
"description": "页码",
"name": "pageIndex",
"in": "query"
},
{
"description": "data",
"name": "data",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/dto.OrgDivisionGetPageReq"
}
}
],
"responses": {
...
...
@@ -1948,11 +1984,11 @@ var doc = `{
"Bearer": []
}
],
"description": "获取联赛列表",
"description": "
\u003c赛事\u003e
获取联赛列表",
"tags": [
"联赛"
"
\u003c赛事\u003e
联赛"
],
"summary": "获取联赛列表",
"summary": "
\u003c赛事\u003e
获取联赛列表",
"parameters": [
{
"type": "integer",
...
...
@@ -1965,6 +2001,15 @@ var doc = `{
"description": "页码",
"name": "pageIndex",
"in": "query"
},
{
"description": "data",
"name": "data",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/dto.OrgLeagueGetPageReq"
}
}
],
"responses": {
...
...
@@ -1982,14 +2027,14 @@ var doc = `{
"Bearer": []
}
],
"description": "创建联赛",
"description": "
\u003c赛事\u003e
创建联赛",
"consumes": [
"application/json"
],
"tags": [
"联赛"
"
\u003c赛事\u003e
联赛"
],
"summary": "创建联赛",
"summary": "
\u003c赛事\u003e
创建联赛",
"parameters": [
{
"description": "data",
...
...
@@ -2016,11 +2061,11 @@ var doc = `{
"Bearer": []
}
],
"description": "删除联赛",
"description": "
\u003c赛事\u003e
删除联赛",
"tags": [
"联赛"
"
\u003c赛事\u003e
联赛"
],
"summary": "删除联赛",
"summary": "
\u003c赛事\u003e
删除联赛",
"parameters": [
{
"description": "ids",
...
...
@@ -2051,11 +2096,11 @@ var doc = `{
"Bearer": []
}
],
"description": "获取联赛",
"description": "
\u003c赛事\u003e
获取联赛",
"tags": [
"联赛"
"
\u003c赛事\u003e
联赛"
],
"summary": "获取联赛",
"summary": "
\u003c赛事\u003e
获取联赛",
"parameters": [
{
"type": "string",
...
...
@@ -2079,14 +2124,14 @@ var doc = `{
"Bearer": []
}
],
"description": "修改联赛",
"description": "
\u003c赛事\u003e
修改联赛",
"consumes": [
"application/json"
],
"tags": [
"联赛"
"
\u003c赛事\u003e
联赛"
],
"summary": "修改联赛",
"summary": "
\u003c赛事\u003e
修改联赛",
"parameters": [
{
"description": "body",
...
...
@@ -2132,6 +2177,15 @@ var doc = `{
"description": "页码",
"name": "pageIndex",
"in": "query"
},
{
"description": "data",
"name": "data",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/dto.OrgMatchGetPageReq"
}
}
],
"responses": {
...
...
@@ -2244,6 +2298,15 @@ var doc = `{
"description": "页码",
"name": "pageIndex",
"in": "query"
},
{
"description": "data",
"name": "data",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/dto.OrgMatchEvaluateGetPageReq"
}
}
],
"responses": {
...
...
@@ -2374,6 +2437,15 @@ var doc = `{
"description": "页码",
"name": "pageIndex",
"in": "query"
},
{
"description": "data",
"name": "data",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/dto.OrgMatchTeamPlayerGetPageReq"
}
}
],
"responses": {
...
...
@@ -2779,6 +2851,15 @@ var doc = `{
"description": "页码",
"name": "pageIndex",
"in": "query"
},
{
"description": "data",
"name": "data",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/dto.OrgNewsGetPageReq"
}
}
],
"responses": {
...
...
@@ -3280,6 +3361,15 @@ var doc = `{
"description": "页码",
"name": "pageIndex",
"in": "query"
},
{
"description": "data",
"name": "data",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/dto.OrgSeasonGetPageReq"
}
}
],
"responses": {
...
...
@@ -3623,6 +3713,15 @@ var doc = `{
"description": "页码",
"name": "pageIndex",
"in": "query"
},
{
"description": "data",
"name": "data",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/dto.OrgTeamMatchGetPageReq"
}
}
],
"responses": {
...
...
@@ -3771,18 +3870,18 @@ var doc = `{
}
}
},
"/api/v1/org-team-match/get-players
-is-set/{id}
": {
"/api/v1/org-team-match/get-players": {
"get": {
"security": [
{
"Bearer": []
}
],
"description": "\u003c球队\u003e获取比赛
已设置
球员",
"description": "\u003c球队\u003e获取比赛
所有
球员",
"tags": [
"\u003c球队\u003e比赛"
],
"summary": "\u003c球队\u003e获取比赛
已设置
球员",
"summary": "\u003c球队\u003e获取比赛
所有
球员",
"parameters": [
{
"type": "string",
...
...
@@ -3801,18 +3900,18 @@ var doc = `{
}
}
},
"/api/v1/org-team-match/get-players
/{id}
": {
"/api/v1/org-team-match/get-players
-is-set
": {
"get": {
"security": [
{
"Bearer": []
}
],
"description": "\u003c球队\u003e获取比赛
所有
球员",
"description": "\u003c球队\u003e获取比赛
已设置
球员",
"tags": [
"\u003c球队\u003e比赛"
],
"summary": "\u003c球队\u003e获取比赛
所有
球员",
"summary": "\u003c球队\u003e获取比赛
已设置
球员",
"parameters": [
{
"type": "string",
...
...
@@ -3861,7 +3960,7 @@ var doc = `{
}
}
},
"/api/v1/org-team-match/update-players
/{id}
": {
"/api/v1/org-team-match/update-players": {
"put": {
"security": [
{
...
...
@@ -3921,6 +4020,15 @@ var doc = `{
"description": "页码",
"name": "pageIndex",
"in": "query"
},
{
"description": "data",
"name": "data",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/dto.OrgTeamPlayerGetPageReq"
}
}
],
"responses": {
...
...
@@ -4023,6 +4131,15 @@ var doc = `{
"description": "页码",
"name": "pageIndex",
"in": "query"
},
{
"description": "data",
"name": "data",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/dto.OrgTeamTeamGetPageReq"
}
}
],
"responses": {
...
...
@@ -6325,6 +6442,26 @@ var doc = `{
}
}
},
"dto.OrgAdGetPageReq": {
"type": "object",
"properties": {
"endTime": {
"type": "string"
},
"pageIndex": {
"type": "integer"
},
"pageSize": {
"type": "integer"
},
"startTime": {
"type": "string"
},
"status": {
"type": "string"
}
}
},
"dto.OrgAdInsertReq": {
"type": "object",
"properties": {
...
...
@@ -6453,6 +6590,63 @@ var doc = `{
}
}
},
"dto.OrgClubPlayerGetPageReq": {
"type": "object",
"properties": {
"divisionId": {
"description": "赛区id",
"type": "string"
},
"leagueId": {
"description": "联赛级别id",
"type": "string"
},
"pageIndex": {
"type": "integer"
},
"pageSize": {
"type": "integer"
},
"playerName": {
"description": "球员名称",
"type": "string"
},
"rounds": {
"description": "轮次",
"type": "string"
},
"seasonId": {
"description": "赛季id",
"type": "string"
}
}
},
"dto.OrgClubTeamGetPageReq": {
"type": "object",
"properties": {
"divisionId": {
"type": "string"
},
"leagueId": {
"type": "string"
},
"pageIndex": {
"type": "integer"
},
"pageSize": {
"type": "integer"
},
"rounds": {
"type": "string"
},
"seasonId": {
"type": "string"
},
"teamId": {
"type": "string"
}
}
},
"dto.OrgClubUpdateReq": {
"type": "object",
"properties": {
...
...
@@ -6525,6 +6719,21 @@ var doc = `{
}
}
},
"dto.OrgDivisionGetPageReq": {
"type": "object",
"properties": {
"divisionName": {
"description": "赛区名称",
"type": "string"
},
"pageIndex": {
"type": "integer"
},
"pageSize": {
"type": "integer"
}
}
},
"dto.OrgDivisionInsertReq": {
"type": "object",
"properties": {
...
...
@@ -6562,6 +6771,41 @@ var doc = `{
}
}
},
"dto.OrgLeagueGetPageReq": {
"type": "object",
"properties": {
"createBy": {
"type": "string"
},
"createdAt": {
"type": "string"
},
"deletedAt": {
"type": "string"
},
"id": {
"type": "integer"
},
"leagueName": {
"type": "string"
},
"pageIndex": {
"type": "integer"
},
"pageSize": {
"type": "integer"
},
"status": {
"type": "string"
},
"updateBy": {
"type": "string"
},
"updatedAt": {
"type": "string"
}
}
},
"dto.OrgLeagueInsertReq": {
"type": "object",
"properties": {
...
...
@@ -6639,6 +6883,10 @@ var doc = `{
"status": {
"description": "发布状态 0 保存 1 待审核 3 驳回 4 发布完成",
"type": "string"
},
"teamId": {
"description": "联赛级别id",
"type": "string"
}
}
},
...
...
@@ -6695,6 +6943,41 @@ var doc = `{
}
}
},
"dto.OrgMatchGetPageReq": {
"type": "object",
"properties": {
"divisionId": {
"type": "string"
},
"grouping": {
"type": "string"
},
"leagueId": {
"type": "string"
},
"matchEndTime": {
"type": "string"
},
"matchStartTime": {
"type": "string"
},
"pageIndex": {
"type": "integer"
},
"pageSize": {
"type": "integer"
},
"rounds": {
"type": "string"
},
"seasonId": {
"type": "string"
},
"status": {
"type": "string"
}
}
},
"dto.OrgMatchInsertReq": {
"type": "object",
"properties": {
...
...
@@ -6754,6 +7037,26 @@ var doc = `{
}
}
},
"dto.OrgMatchTeamPlayerGetPageReq": {
"type": "object",
"properties": {
"matchId": {
"type": "string"
},
"pageIndex": {
"type": "integer"
},
"pageSize": {
"type": "integer"
},
"rounds": {
"type": "string"
},
"teamId": {
"type": "string"
}
}
},
"dto.OrgMatchTeamPlayerInsertReq": {
"type": "object",
"properties": {
...
...
@@ -6949,6 +7252,29 @@ var doc = `{
}
}
},
"dto.OrgNewsGetPageReq": {
"type": "object",
"properties": {
"endTime": {
"type": "string"
},
"newsName": {
"type": "string"
},
"pageIndex": {
"type": "integer"
},
"pageSize": {
"type": "integer"
},
"startTime": {
"type": "string"
},
"status": {
"type": "string"
}
}
},
"dto.OrgNewsInsertReq": {
"type": "object",
"properties": {
...
...
@@ -7156,6 +7482,32 @@ var doc = `{
}
}
},
"dto.OrgSeasonGetPageReq": {
"type": "object",
"properties": {
"leagueId": {
"type": "string"
},
"pageIndex": {
"type": "integer"
},
"pageSize": {
"type": "integer"
},
"seasonEndTime": {
"type": "string"
},
"seasonId": {
"type": "string"
},
"seasonStartTime": {
"type": "string"
},
"status": {
"type": "string"
}
}
},
"dto.OrgSeasonInsertReq": {
"type": "object",
"properties": {
...
...
@@ -7283,6 +7635,98 @@ var doc = `{
}
}
},
"dto.OrgTeamMatchGetPageReq": {
"type": "object",
"properties": {
"divisionId": {
"type": "string"
},
"leagueId": {
"type": "string"
},
"matchEndTime": {
"type": "string"
},
"matchStartTime": {
"type": "string"
},
"pageIndex": {
"type": "integer"
},
"pageSize": {
"type": "integer"
},
"rounds": {
"type": "string"
},
"seasonId": {
"type": "string"
},
"status": {
"type": "string"
},
"teamId": {
"type": "string"
}
}
},
"dto.OrgTeamPlayerGetPageReq": {
"type": "object",
"properties": {
"divisionId": {
"description": "赛区id",
"type": "string"
},
"leagueId": {
"description": "联赛级别id",
"type": "string"
},
"pageIndex": {
"type": "integer"
},
"pageSize": {
"type": "integer"
},
"playerName": {
"description": "球员名称",
"type": "string"
},
"rounds": {
"description": "轮次",
"type": "string"
},
"seasonId": {
"description": "赛季id",
"type": "string"
}
}
},
"dto.OrgTeamTeamGetPageReq": {
"type": "object",
"properties": {
"divisionId": {
"type": "string"
},
"leagueId": {
"type": "string"
},
"pageIndex": {
"type": "integer"
},
"pageSize": {
"type": "integer"
},
"rounds": {
"type": "string"
},
"seasonId": {
"type": "string"
},
"teamId": {
"type": "string"
}
}
},
"dto.OrgTeamUpdateReq": {
"type": "object",
"properties": {
...
...
@@ -8470,12 +8914,21 @@ var doc = `{
"models.SysDept": {
"type": "object",
"properties": {
"children": {
"type": "array",
"items": {
"$ref": "#/definitions/models.SysDept"
}
},
"createBy": {
"type": "integer"
},
"createdAt": {
"type": "string"
},
"dataScope": {
"type": "string"
},
"deptId": {
"description": "部门编码",
"type": "integer"
...
...
@@ -8495,6 +8948,9 @@ var doc = `{
"description": "负责人",
"type": "string"
},
"params": {
"type": "string"
},
"parentId": {
"description": "上级部门",
"type": "integer"
...
...
@@ -8525,21 +8981,9 @@ 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"
},
...
...
@@ -8549,18 +8993,12 @@ var doc = `{
"createdAt": {
"type": "string"
},
"dataScope": {
"type": "string"
},
"icon": {
"type": "string"
},
"isFrame": {
"type": "string"
},
"is_select": {
"type": "boolean"
},
"menuId": {
"type": "integer"
},
...
...
@@ -8573,9 +9011,6 @@ var doc = `{
"noCache": {
"type": "boolean"
},
"params": {
"type": "string"
},
"parentId": {
"type": "integer"
},
...
...
@@ -8588,9 +9023,6 @@ var doc = `{
"permission": {
"type": "string"
},
"roleId": {
"type": "integer"
},
"sort": {
"type": "integer"
},
...
...
This diff is collapsed.
Click to expand it.
docs/swagger.json
View file @
edcfa60d
...
...
@@ -1037,6 +1037,15 @@
"description"
:
"页码"
,
"name"
:
"pageIndex"
,
"in"
:
"query"
},
{
"description"
:
"data"
,
"name"
:
"data"
,
"in"
:
"body"
,
"required"
:
true
,
"schema"
:
{
"$ref"
:
"#/definitions/dto.OrgAdGetPageReq"
}
}
],
"responses"
:
{
...
...
@@ -1316,6 +1325,15 @@
"description"
:
"页码"
,
"name"
:
"pageIndex"
,
"in"
:
"query"
},
{
"description"
:
"data"
,
"name"
:
"data"
,
"in"
:
"body"
,
"required"
:
true
,
"schema"
:
{
"$ref"
:
"#/definitions/dto.OrgClubPlayerGetPageReq"
}
}
],
"responses"
:
{
...
...
@@ -1418,6 +1436,15 @@
"description"
:
"页码"
,
"name"
:
"pageIndex"
,
"in"
:
"query"
},
{
"description"
:
"data"
,
"name"
:
"data"
,
"in"
:
"body"
,
"required"
:
true
,
"schema"
:
{
"$ref"
:
"#/definitions/dto.OrgClubTeamGetPageReq"
}
}
],
"responses"
:
{
...
...
@@ -1781,6 +1808,15 @@
"description"
:
"页码"
,
"name"
:
"pageIndex"
,
"in"
:
"query"
},
{
"description"
:
"data"
,
"name"
:
"data"
,
"in"
:
"body"
,
"required"
:
true
,
"schema"
:
{
"$ref"
:
"#/definitions/dto.OrgDivisionGetPageReq"
}
}
],
"responses"
:
{
...
...
@@ -1931,11 +1967,11 @@
"Bearer"
:
[]
}
],
"description"
:
"获取联赛列表"
,
"description"
:
"
\u
003c赛事
\u
003e
获取联赛列表"
,
"tags"
:
[
"联赛"
"
\u
003c赛事
\u
003e
联赛"
],
"summary"
:
"获取联赛列表"
,
"summary"
:
"
\u
003c赛事
\u
003e
获取联赛列表"
,
"parameters"
:
[
{
"type"
:
"integer"
,
...
...
@@ -1948,6 +1984,15 @@
"description"
:
"页码"
,
"name"
:
"pageIndex"
,
"in"
:
"query"
},
{
"description"
:
"data"
,
"name"
:
"data"
,
"in"
:
"body"
,
"required"
:
true
,
"schema"
:
{
"$ref"
:
"#/definitions/dto.OrgLeagueGetPageReq"
}
}
],
"responses"
:
{
...
...
@@ -1965,14 +2010,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"
,
...
...
@@ -1999,11 +2044,11 @@
"Bearer"
:
[]
}
],
"description"
:
"删除联赛"
,
"description"
:
"
\u
003c赛事
\u
003e
删除联赛"
,
"tags"
:
[
"联赛"
"
\u
003c赛事
\u
003e
联赛"
],
"summary"
:
"删除联赛"
,
"summary"
:
"
\u
003c赛事
\u
003e
删除联赛"
,
"parameters"
:
[
{
"description"
:
"ids"
,
...
...
@@ -2034,11 +2079,11 @@
"Bearer"
:
[]
}
],
"description"
:
"获取联赛"
,
"description"
:
"
\u
003c赛事
\u
003e
获取联赛"
,
"tags"
:
[
"联赛"
"
\u
003c赛事
\u
003e
联赛"
],
"summary"
:
"获取联赛"
,
"summary"
:
"
\u
003c赛事
\u
003e
获取联赛"
,
"parameters"
:
[
{
"type"
:
"string"
,
...
...
@@ -2062,14 +2107,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"
,
...
...
@@ -2115,6 +2160,15 @@
"description"
:
"页码"
,
"name"
:
"pageIndex"
,
"in"
:
"query"
},
{
"description"
:
"data"
,
"name"
:
"data"
,
"in"
:
"body"
,
"required"
:
true
,
"schema"
:
{
"$ref"
:
"#/definitions/dto.OrgMatchGetPageReq"
}
}
],
"responses"
:
{
...
...
@@ -2227,6 +2281,15 @@
"description"
:
"页码"
,
"name"
:
"pageIndex"
,
"in"
:
"query"
},
{
"description"
:
"data"
,
"name"
:
"data"
,
"in"
:
"body"
,
"required"
:
true
,
"schema"
:
{
"$ref"
:
"#/definitions/dto.OrgMatchEvaluateGetPageReq"
}
}
],
"responses"
:
{
...
...
@@ -2357,6 +2420,15 @@
"description"
:
"页码"
,
"name"
:
"pageIndex"
,
"in"
:
"query"
},
{
"description"
:
"data"
,
"name"
:
"data"
,
"in"
:
"body"
,
"required"
:
true
,
"schema"
:
{
"$ref"
:
"#/definitions/dto.OrgMatchTeamPlayerGetPageReq"
}
}
],
"responses"
:
{
...
...
@@ -2762,6 +2834,15 @@
"description"
:
"页码"
,
"name"
:
"pageIndex"
,
"in"
:
"query"
},
{
"description"
:
"data"
,
"name"
:
"data"
,
"in"
:
"body"
,
"required"
:
true
,
"schema"
:
{
"$ref"
:
"#/definitions/dto.OrgNewsGetPageReq"
}
}
],
"responses"
:
{
...
...
@@ -3263,6 +3344,15 @@
"description"
:
"页码"
,
"name"
:
"pageIndex"
,
"in"
:
"query"
},
{
"description"
:
"data"
,
"name"
:
"data"
,
"in"
:
"body"
,
"required"
:
true
,
"schema"
:
{
"$ref"
:
"#/definitions/dto.OrgSeasonGetPageReq"
}
}
],
"responses"
:
{
...
...
@@ -3606,6 +3696,15 @@
"description"
:
"页码"
,
"name"
:
"pageIndex"
,
"in"
:
"query"
},
{
"description"
:
"data"
,
"name"
:
"data"
,
"in"
:
"body"
,
"required"
:
true
,
"schema"
:
{
"$ref"
:
"#/definitions/dto.OrgTeamMatchGetPageReq"
}
}
],
"responses"
:
{
...
...
@@ -3754,18 +3853,18 @@
}
}
},
"/api/v1/org-team-match/get-players
-is-set/{id}
"
:
{
"/api/v1/org-team-match/get-players"
:
{
"get"
:
{
"security"
:
[
{
"Bearer"
:
[]
}
],
"description"
:
"
\u
003c球队
\u
003e获取比赛
已设置
球员"
,
"description"
:
"
\u
003c球队
\u
003e获取比赛
所有
球员"
,
"tags"
:
[
"
\u
003c球队
\u
003e比赛"
],
"summary"
:
"
\u
003c球队
\u
003e获取比赛
已设置
球员"
,
"summary"
:
"
\u
003c球队
\u
003e获取比赛
所有
球员"
,
"parameters"
:
[
{
"type"
:
"string"
,
...
...
@@ -3784,18 +3883,18 @@
}
}
},
"/api/v1/org-team-match/get-players
/{id}
"
:
{
"/api/v1/org-team-match/get-players
-is-set
"
:
{
"get"
:
{
"security"
:
[
{
"Bearer"
:
[]
}
],
"description"
:
"
\u
003c球队
\u
003e获取比赛
所有
球员"
,
"description"
:
"
\u
003c球队
\u
003e获取比赛
已设置
球员"
,
"tags"
:
[
"
\u
003c球队
\u
003e比赛"
],
"summary"
:
"
\u
003c球队
\u
003e获取比赛
所有
球员"
,
"summary"
:
"
\u
003c球队
\u
003e获取比赛
已设置
球员"
,
"parameters"
:
[
{
"type"
:
"string"
,
...
...
@@ -3844,7 +3943,7 @@
}
}
},
"/api/v1/org-team-match/update-players
/{id}
"
:
{
"/api/v1/org-team-match/update-players"
:
{
"put"
:
{
"security"
:
[
{
...
...
@@ -3904,6 +4003,15 @@
"description"
:
"页码"
,
"name"
:
"pageIndex"
,
"in"
:
"query"
},
{
"description"
:
"data"
,
"name"
:
"data"
,
"in"
:
"body"
,
"required"
:
true
,
"schema"
:
{
"$ref"
:
"#/definitions/dto.OrgTeamPlayerGetPageReq"
}
}
],
"responses"
:
{
...
...
@@ -4006,6 +4114,15 @@
"description"
:
"页码"
,
"name"
:
"pageIndex"
,
"in"
:
"query"
},
{
"description"
:
"data"
,
"name"
:
"data"
,
"in"
:
"body"
,
"required"
:
true
,
"schema"
:
{
"$ref"
:
"#/definitions/dto.OrgTeamTeamGetPageReq"
}
}
],
"responses"
:
{
...
...
@@ -6308,6 +6425,26 @@
}
}
},
"dto.OrgAdGetPageReq"
:
{
"type"
:
"object"
,
"properties"
:
{
"endTime"
:
{
"type"
:
"string"
},
"pageIndex"
:
{
"type"
:
"integer"
},
"pageSize"
:
{
"type"
:
"integer"
},
"startTime"
:
{
"type"
:
"string"
},
"status"
:
{
"type"
:
"string"
}
}
},
"dto.OrgAdInsertReq"
:
{
"type"
:
"object"
,
"properties"
:
{
...
...
@@ -6436,6 +6573,63 @@
}
}
},
"dto.OrgClubPlayerGetPageReq"
:
{
"type"
:
"object"
,
"properties"
:
{
"divisionId"
:
{
"description"
:
"赛区id"
,
"type"
:
"string"
},
"leagueId"
:
{
"description"
:
"联赛级别id"
,
"type"
:
"string"
},
"pageIndex"
:
{
"type"
:
"integer"
},
"pageSize"
:
{
"type"
:
"integer"
},
"playerName"
:
{
"description"
:
"球员名称"
,
"type"
:
"string"
},
"rounds"
:
{
"description"
:
"轮次"
,
"type"
:
"string"
},
"seasonId"
:
{
"description"
:
"赛季id"
,
"type"
:
"string"
}
}
},
"dto.OrgClubTeamGetPageReq"
:
{
"type"
:
"object"
,
"properties"
:
{
"divisionId"
:
{
"type"
:
"string"
},
"leagueId"
:
{
"type"
:
"string"
},
"pageIndex"
:
{
"type"
:
"integer"
},
"pageSize"
:
{
"type"
:
"integer"
},
"rounds"
:
{
"type"
:
"string"
},
"seasonId"
:
{
"type"
:
"string"
},
"teamId"
:
{
"type"
:
"string"
}
}
},
"dto.OrgClubUpdateReq"
:
{
"type"
:
"object"
,
"properties"
:
{
...
...
@@ -6508,6 +6702,21 @@
}
}
},
"dto.OrgDivisionGetPageReq"
:
{
"type"
:
"object"
,
"properties"
:
{
"divisionName"
:
{
"description"
:
"赛区名称"
,
"type"
:
"string"
},
"pageIndex"
:
{
"type"
:
"integer"
},
"pageSize"
:
{
"type"
:
"integer"
}
}
},
"dto.OrgDivisionInsertReq"
:
{
"type"
:
"object"
,
"properties"
:
{
...
...
@@ -6545,6 +6754,41 @@
}
}
},
"dto.OrgLeagueGetPageReq"
:
{
"type"
:
"object"
,
"properties"
:
{
"createBy"
:
{
"type"
:
"string"
},
"createdAt"
:
{
"type"
:
"string"
},
"deletedAt"
:
{
"type"
:
"string"
},
"id"
:
{
"type"
:
"integer"
},
"leagueName"
:
{
"type"
:
"string"
},
"pageIndex"
:
{
"type"
:
"integer"
},
"pageSize"
:
{
"type"
:
"integer"
},
"status"
:
{
"type"
:
"string"
},
"updateBy"
:
{
"type"
:
"string"
},
"updatedAt"
:
{
"type"
:
"string"
}
}
},
"dto.OrgLeagueInsertReq"
:
{
"type"
:
"object"
,
"properties"
:
{
...
...
@@ -6622,6 +6866,10 @@
"status"
:
{
"description"
:
"发布状态 0 保存 1 待审核 3 驳回 4 发布完成"
,
"type"
:
"string"
},
"teamId"
:
{
"description"
:
"联赛级别id"
,
"type"
:
"string"
}
}
},
...
...
@@ -6678,6 +6926,41 @@
}
}
},
"dto.OrgMatchGetPageReq"
:
{
"type"
:
"object"
,
"properties"
:
{
"divisionId"
:
{
"type"
:
"string"
},
"grouping"
:
{
"type"
:
"string"
},
"leagueId"
:
{
"type"
:
"string"
},
"matchEndTime"
:
{
"type"
:
"string"
},
"matchStartTime"
:
{
"type"
:
"string"
},
"pageIndex"
:
{
"type"
:
"integer"
},
"pageSize"
:
{
"type"
:
"integer"
},
"rounds"
:
{
"type"
:
"string"
},
"seasonId"
:
{
"type"
:
"string"
},
"status"
:
{
"type"
:
"string"
}
}
},
"dto.OrgMatchInsertReq"
:
{
"type"
:
"object"
,
"properties"
:
{
...
...
@@ -6737,6 +7020,26 @@
}
}
},
"dto.OrgMatchTeamPlayerGetPageReq"
:
{
"type"
:
"object"
,
"properties"
:
{
"matchId"
:
{
"type"
:
"string"
},
"pageIndex"
:
{
"type"
:
"integer"
},
"pageSize"
:
{
"type"
:
"integer"
},
"rounds"
:
{
"type"
:
"string"
},
"teamId"
:
{
"type"
:
"string"
}
}
},
"dto.OrgMatchTeamPlayerInsertReq"
:
{
"type"
:
"object"
,
"properties"
:
{
...
...
@@ -6932,6 +7235,29 @@
}
}
},
"dto.OrgNewsGetPageReq"
:
{
"type"
:
"object"
,
"properties"
:
{
"endTime"
:
{
"type"
:
"string"
},
"newsName"
:
{
"type"
:
"string"
},
"pageIndex"
:
{
"type"
:
"integer"
},
"pageSize"
:
{
"type"
:
"integer"
},
"startTime"
:
{
"type"
:
"string"
},
"status"
:
{
"type"
:
"string"
}
}
},
"dto.OrgNewsInsertReq"
:
{
"type"
:
"object"
,
"properties"
:
{
...
...
@@ -7139,6 +7465,32 @@
}
}
},
"dto.OrgSeasonGetPageReq"
:
{
"type"
:
"object"
,
"properties"
:
{
"leagueId"
:
{
"type"
:
"string"
},
"pageIndex"
:
{
"type"
:
"integer"
},
"pageSize"
:
{
"type"
:
"integer"
},
"seasonEndTime"
:
{
"type"
:
"string"
},
"seasonId"
:
{
"type"
:
"string"
},
"seasonStartTime"
:
{
"type"
:
"string"
},
"status"
:
{
"type"
:
"string"
}
}
},
"dto.OrgSeasonInsertReq"
:
{
"type"
:
"object"
,
"properties"
:
{
...
...
@@ -7266,6 +7618,98 @@
}
}
},
"dto.OrgTeamMatchGetPageReq"
:
{
"type"
:
"object"
,
"properties"
:
{
"divisionId"
:
{
"type"
:
"string"
},
"leagueId"
:
{
"type"
:
"string"
},
"matchEndTime"
:
{
"type"
:
"string"
},
"matchStartTime"
:
{
"type"
:
"string"
},
"pageIndex"
:
{
"type"
:
"integer"
},
"pageSize"
:
{
"type"
:
"integer"
},
"rounds"
:
{
"type"
:
"string"
},
"seasonId"
:
{
"type"
:
"string"
},
"status"
:
{
"type"
:
"string"
},
"teamId"
:
{
"type"
:
"string"
}
}
},
"dto.OrgTeamPlayerGetPageReq"
:
{
"type"
:
"object"
,
"properties"
:
{
"divisionId"
:
{
"description"
:
"赛区id"
,
"type"
:
"string"
},
"leagueId"
:
{
"description"
:
"联赛级别id"
,
"type"
:
"string"
},
"pageIndex"
:
{
"type"
:
"integer"
},
"pageSize"
:
{
"type"
:
"integer"
},
"playerName"
:
{
"description"
:
"球员名称"
,
"type"
:
"string"
},
"rounds"
:
{
"description"
:
"轮次"
,
"type"
:
"string"
},
"seasonId"
:
{
"description"
:
"赛季id"
,
"type"
:
"string"
}
}
},
"dto.OrgTeamTeamGetPageReq"
:
{
"type"
:
"object"
,
"properties"
:
{
"divisionId"
:
{
"type"
:
"string"
},
"leagueId"
:
{
"type"
:
"string"
},
"pageIndex"
:
{
"type"
:
"integer"
},
"pageSize"
:
{
"type"
:
"integer"
},
"rounds"
:
{
"type"
:
"string"
},
"seasonId"
:
{
"type"
:
"string"
},
"teamId"
:
{
"type"
:
"string"
}
}
},
"dto.OrgTeamUpdateReq"
:
{
"type"
:
"object"
,
"properties"
:
{
...
...
@@ -8453,12 +8897,21 @@
"models.SysDept"
:
{
"type"
:
"object"
,
"properties"
:
{
"children"
:
{
"type"
:
"array"
,
"items"
:
{
"$ref"
:
"#/definitions/models.SysDept"
}
},
"createBy"
:
{
"type"
:
"integer"
},
"createdAt"
:
{
"type"
:
"string"
},
"dataScope"
:
{
"type"
:
"string"
},
"deptId"
:
{
"description"
:
"部门编码"
,
"type"
:
"integer"
...
...
@@ -8478,6 +8931,9 @@
"description"
:
"负责人"
,
"type"
:
"string"
},
"params"
:
{
"type"
:
"string"
},
"parentId"
:
{
"description"
:
"上级部门"
,
"type"
:
"integer"
...
...
@@ -8508,21 +8964,9 @@
"action"
:
{
"type"
:
"string"
},
"apis"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"integer"
}
},
"breadcrumb"
:
{
"type"
:
"string"
},
"children"
:
{
"type"
:
"array"
,
"items"
:
{
"$ref"
:
"#/definitions/models.SysMenu"
}
},
"component"
:
{
"type"
:
"string"
},
...
...
@@ -8532,18 +8976,12 @@
"createdAt"
:
{
"type"
:
"string"
},
"dataScope"
:
{
"type"
:
"string"
},
"icon"
:
{
"type"
:
"string"
},
"isFrame"
:
{
"type"
:
"string"
},
"is_select"
:
{
"type"
:
"boolean"
},
"menuId"
:
{
"type"
:
"integer"
},
...
...
@@ -8556,9 +8994,6 @@
"noCache"
:
{
"type"
:
"boolean"
},
"params"
:
{
"type"
:
"string"
},
"parentId"
:
{
"type"
:
"integer"
},
...
...
@@ -8571,9 +9006,6 @@
"permission"
:
{
"type"
:
"string"
},
"roleId"
:
{
"type"
:
"integer"
},
"sort"
:
{
"type"
:
"integer"
},
...
...
This diff is collapsed.
Click to expand it.
docs/swagger.yaml
View file @
edcfa60d
...
...
@@ -6,6 +6,19 @@ definitions:
configValue
:
type
:
string
type
:
object
dto.OrgAdGetPageReq
:
properties
:
endTime
:
type
:
string
pageIndex
:
type
:
integer
pageSize
:
type
:
integer
startTime
:
type
:
string
status
:
type
:
string
type
:
object
dto.OrgAdInsertReq
:
properties
:
adImg
:
...
...
@@ -91,6 +104,45 @@ definitions:
updateBy
:
type
:
integer
type
:
object
dto.OrgClubPlayerGetPageReq
:
properties
:
divisionId
:
description
:
赛区id
type
:
string
leagueId
:
description
:
联赛级别id
type
:
string
pageIndex
:
type
:
integer
pageSize
:
type
:
integer
playerName
:
description
:
球员名称
type
:
string
rounds
:
description
:
轮次
type
:
string
seasonId
:
description
:
赛季id
type
:
string
type
:
object
dto.OrgClubTeamGetPageReq
:
properties
:
divisionId
:
type
:
string
leagueId
:
type
:
string
pageIndex
:
type
:
integer
pageSize
:
type
:
integer
rounds
:
type
:
string
seasonId
:
type
:
string
teamId
:
type
:
string
type
:
object
dto.OrgClubUpdateReq
:
properties
:
clubContacts
:
...
...
@@ -138,6 +190,16 @@ definitions:
userId
:
type
:
string
type
:
object
dto.OrgDivisionGetPageReq
:
properties
:
divisionName
:
description
:
赛区名称
type
:
string
pageIndex
:
type
:
integer
pageSize
:
type
:
integer
type
:
object
dto.OrgDivisionInsertReq
:
properties
:
createBy
:
...
...
@@ -162,6 +224,29 @@ definitions:
updateBy
:
type
:
integer
type
:
object
dto.OrgLeagueGetPageReq
:
properties
:
createBy
:
type
:
string
createdAt
:
type
:
string
deletedAt
:
type
:
string
id
:
type
:
integer
leagueName
:
type
:
string
pageIndex
:
type
:
integer
pageSize
:
type
:
integer
status
:
type
:
string
updateBy
:
type
:
string
updatedAt
:
type
:
string
type
:
object
dto.OrgLeagueInsertReq
:
properties
:
createBy
:
...
...
@@ -216,6 +301,9 @@ definitions:
status
:
description
:
发布状态 0 保存 1 待审核 3 驳回 4 发布完成
type
:
string
teamId
:
description
:
联赛级别id
type
:
string
type
:
object
dto.OrgMatchEvaluateUpdateReq
:
properties
:
...
...
@@ -252,6 +340,29 @@ definitions:
wonderfulMomentMvTitle
:
type
:
string
type
:
object
dto.OrgMatchGetPageReq
:
properties
:
divisionId
:
type
:
string
grouping
:
type
:
string
leagueId
:
type
:
string
matchEndTime
:
type
:
string
matchStartTime
:
type
:
string
pageIndex
:
type
:
integer
pageSize
:
type
:
integer
rounds
:
type
:
string
seasonId
:
type
:
string
status
:
type
:
string
type
:
object
dto.OrgMatchInsertReq
:
properties
:
clubId
:
...
...
@@ -291,6 +402,19 @@ definitions:
updateBy
:
type
:
integer
type
:
object
dto.OrgMatchTeamPlayerGetPageReq
:
properties
:
matchId
:
type
:
string
pageIndex
:
type
:
integer
pageSize
:
type
:
integer
rounds
:
type
:
string
teamId
:
type
:
string
type
:
object
dto.OrgMatchTeamPlayerInsertReq
:
properties
:
assist
:
...
...
@@ -420,6 +544,21 @@ definitions:
updateBy
:
type
:
integer
type
:
object
dto.OrgNewsGetPageReq
:
properties
:
endTime
:
type
:
string
newsName
:
type
:
string
pageIndex
:
type
:
integer
pageSize
:
type
:
integer
startTime
:
type
:
string
status
:
type
:
string
type
:
object
dto.OrgNewsInsertReq
:
properties
:
createBy
:
...
...
@@ -556,6 +695,23 @@ definitions:
username
:
type
:
string
type
:
object
dto.OrgSeasonGetPageReq
:
properties
:
leagueId
:
type
:
string
pageIndex
:
type
:
integer
pageSize
:
type
:
integer
seasonEndTime
:
type
:
string
seasonId
:
type
:
string
seasonStartTime
:
type
:
string
status
:
type
:
string
type
:
object
dto.OrgSeasonInsertReq
:
properties
:
createBy
:
...
...
@@ -640,6 +796,68 @@ definitions:
updateBy
:
type
:
integer
type
:
object
dto.OrgTeamMatchGetPageReq
:
properties
:
divisionId
:
type
:
string
leagueId
:
type
:
string
matchEndTime
:
type
:
string
matchStartTime
:
type
:
string
pageIndex
:
type
:
integer
pageSize
:
type
:
integer
rounds
:
type
:
string
seasonId
:
type
:
string
status
:
type
:
string
teamId
:
type
:
string
type
:
object
dto.OrgTeamPlayerGetPageReq
:
properties
:
divisionId
:
description
:
赛区id
type
:
string
leagueId
:
description
:
联赛级别id
type
:
string
pageIndex
:
type
:
integer
pageSize
:
type
:
integer
playerName
:
description
:
球员名称
type
:
string
rounds
:
description
:
轮次
type
:
string
seasonId
:
description
:
赛季id
type
:
string
type
:
object
dto.OrgTeamTeamGetPageReq
:
properties
:
divisionId
:
type
:
string
leagueId
:
type
:
string
pageIndex
:
type
:
integer
pageSize
:
type
:
integer
rounds
:
type
:
string
seasonId
:
type
:
string
teamId
:
type
:
string
type
:
object
dto.OrgTeamUpdateReq
:
properties
:
clubId
:
...
...
@@ -1446,10 +1664,16 @@ definitions:
type
:
object
models.SysDept
:
properties
:
children
:
items
:
$ref
:
'
#/definitions/models.SysDept'
type
:
array
createBy
:
type
:
integer
createdAt
:
type
:
string
dataScope
:
type
:
string
deptId
:
description
:
部门编码
type
:
integer
...
...
@@ -1464,6 +1688,8 @@ definitions:
leader
:
description
:
负责人
type
:
string
params
:
type
:
string
parentId
:
description
:
上级部门
type
:
integer
...
...
@@ -1485,28 +1711,16 @@ 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
:
...
...
@@ -1517,8 +1731,6 @@ definitions:
type
:
string
noCache
:
type
:
boolean
params
:
type
:
string
parentId
:
type
:
integer
path
:
...
...
@@ -1527,8 +1739,6 @@ definitions:
type
:
string
permission
:
type
:
string
roleId
:
type
:
integer
sort
:
type
:
integer
sysApi
:
...
...
@@ -2394,6 +2604,12 @@ paths:
in
:
query
name
:
pageIndex
type
:
integer
-
description
:
data
in
:
body
name
:
data
required
:
true
schema
:
$ref
:
'
#/definitions/dto.OrgAdGetPageReq'
responses
:
"
200"
:
description
:
'
{"code":
200,
"data":
[...]}'
...
...
@@ -2545,6 +2761,12 @@ paths:
in
:
query
name
:
pageIndex
type
:
integer
-
description
:
data
in
:
body
name
:
data
required
:
true
schema
:
$ref
:
'
#/definitions/dto.OrgClubPlayerGetPageReq'
responses
:
"
200"
:
description
:
'
{"code":
200,
"data":
[...]}'
...
...
@@ -2607,6 +2829,12 @@ paths:
in
:
query
name
:
pageIndex
type
:
integer
-
description
:
data
in
:
body
name
:
data
required
:
true
schema
:
$ref
:
'
#/definitions/dto.OrgClubTeamGetPageReq'
responses
:
"
200"
:
description
:
'
{"code":
200,
"data":
[...]}'
...
...
@@ -2848,6 +3076,12 @@ paths:
in
:
query
name
:
pageIndex
type
:
integer
-
description
:
data
in
:
body
name
:
data
required
:
true
schema
:
$ref
:
'
#/definitions/dto.OrgDivisionGetPageReq'
responses
:
"
200"
:
description
:
'
{"code":
200,
"data":
[...]}'
...
...
@@ -2920,7 +3154,7 @@ paths:
-
<赛事>赛区
/api/v1/org-league
:
delete
:
description
:
删除联赛
description
:
<赛事>
删除联赛
parameters
:
-
description
:
ids
in
:
body
...
...
@@ -2936,11 +3170,11 @@ paths:
type
:
string
security
:
-
Bearer
:
[]
summary
:
删除联赛
summary
:
<赛事>
删除联赛
tags
:
-
联赛
-
<赛事>
联赛
get
:
description
:
获取联赛列表
description
:
<赛事>
获取联赛列表
parameters
:
-
description
:
页条数
in
:
query
...
...
@@ -2950,6 +3184,12 @@ 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":
[...]}'
...
...
@@ -2957,13 +3197,13 @@ paths:
type
:
string
security
:
-
Bearer
:
[]
summary
:
获取联赛列表
summary
:
<赛事>
获取联赛列表
tags
:
-
联赛
-
<赛事>
联赛
post
:
consumes
:
-
application/json
description
:
创建联赛
description
:
<赛事>
创建联赛
parameters
:
-
description
:
data
in
:
body
...
...
@@ -2978,12 +3218,12 @@ paths:
type
:
string
security
:
-
Bearer
:
[]
summary
:
创建联赛
summary
:
<赛事>
创建联赛
tags
:
-
联赛
-
<赛事>
联赛
/api/v1/org-league/{id}
:
get
:
description
:
获取联赛
description
:
<赛事>
获取联赛
parameters
:
-
description
:
id
in
:
path
...
...
@@ -2996,13 +3236,13 @@ paths:
type
:
string
security
:
-
Bearer
:
[]
summary
:
获取联赛
summary
:
<赛事>
获取联赛
tags
:
-
联赛
-
<赛事>
联赛
put
:
consumes
:
-
application/json
description
:
修改联赛
description
:
<赛事>
修改联赛
parameters
:
-
description
:
body
in
:
body
...
...
@@ -3017,9 +3257,9 @@ paths:
type
:
string
security
:
-
Bearer
:
[]
summary
:
修改联赛
summary
:
<赛事>
修改联赛
tags
:
-
联赛
-
<赛事>
联赛
/api/v1/org-match
:
delete
:
description
:
<赛事>删除比赛
...
...
@@ -3052,6 +3292,12 @@ paths:
in
:
query
name
:
pageIndex
type
:
integer
-
description
:
data
in
:
body
name
:
data
required
:
true
schema
:
$ref
:
'
#/definitions/dto.OrgMatchGetPageReq'
responses
:
"
200"
:
description
:
'
{"code":
200,
"data":
[...]}'
...
...
@@ -3101,6 +3347,12 @@ paths:
in
:
query
name
:
pageIndex
type
:
integer
-
description
:
data
in
:
body
name
:
data
required
:
true
schema
:
$ref
:
'
#/definitions/dto.OrgMatchEvaluateGetPageReq'
responses
:
"
200"
:
description
:
'
{"code":
200,
"data":
[...]}'
...
...
@@ -3200,6 +3452,12 @@ paths:
in
:
query
name
:
pageIndex
type
:
integer
-
description
:
data
in
:
body
name
:
data
required
:
true
schema
:
$ref
:
'
#/definitions/dto.OrgMatchTeamPlayerGetPageReq'
responses
:
"
200"
:
description
:
'
{"code":
200,
"data":
[...]}'
...
...
@@ -3447,6 +3705,12 @@ paths:
in
:
query
name
:
pageIndex
type
:
integer
-
description
:
data
in
:
body
name
:
data
required
:
true
schema
:
$ref
:
'
#/definitions/dto.OrgNewsGetPageReq'
responses
:
"
200"
:
description
:
'
{"code":
200,
"data":
[...]}'
...
...
@@ -3753,6 +4017,12 @@ paths:
in
:
query
name
:
pageIndex
type
:
integer
-
description
:
data
in
:
body
name
:
data
required
:
true
schema
:
$ref
:
'
#/definitions/dto.OrgSeasonGetPageReq'
responses
:
"
200"
:
description
:
'
{"code":
200,
"data":
[...]}'
...
...
@@ -3943,6 +4213,12 @@ paths:
in
:
query
name
:
pageIndex
type
:
integer
-
description
:
data
in
:
body
name
:
data
required
:
true
schema
:
$ref
:
'
#/definitions/dto.OrgTeamMatchGetPageReq'
responses
:
"
200"
:
description
:
'
{"code":
200,
"data":
[...]}'
...
...
@@ -4036,9 +4312,9 @@ paths:
summary
:
<球队>教练评价比赛列表
tags
:
-
<球队>教练评价
/api/v1/org-team-match/get-players
-is-set/{id}
:
/api/v1/org-team-match/get-players
:
get
:
description
:
<球队>获取比赛
已设置
球员
description
:
<球队>获取比赛
所有
球员
parameters
:
-
description
:
id
in
:
path
...
...
@@ -4051,12 +4327,12 @@ paths:
type
:
string
security
:
-
Bearer
:
[]
summary
:
<球队>获取比赛
已设置
球员
summary
:
<球队>获取比赛
所有
球员
tags
:
-
<球队>比赛
/api/v1/org-team-match/get-players
/{id}
:
/api/v1/org-team-match/get-players
-is-set
:
get
:
description
:
<球队>获取比赛
所有
球员
description
:
<球队>获取比赛
已设置
球员
parameters
:
-
description
:
id
in
:
path
...
...
@@ -4069,7 +4345,7 @@ paths:
type
:
string
security
:
-
Bearer
:
[]
summary
:
<球队>获取比赛
所有
球员
summary
:
<球队>获取比赛
已设置
球员
tags
:
-
<球队>比赛
/api/v1/org-team-match/info/{id}
:
...
...
@@ -4090,7 +4366,7 @@ paths:
summary
:
<赛事>获取比赛附加数据(比赛详情,联赛,赛区,赛季,球队)
tags
:
-
<赛事>比赛
/api/v1/org-team-match/update-players
/{id}
:
/api/v1/org-team-match/update-players
:
put
:
consumes
:
-
application/json
...
...
@@ -4124,6 +4400,12 @@ paths:
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":
[...]}'
...
...
@@ -4186,6 +4468,12 @@ paths:
in
:
query
name
:
pageIndex
type
:
integer
-
description
:
data
in
:
body
name
:
data
required
:
true
schema
:
$ref
:
'
#/definitions/dto.OrgTeamTeamGetPageReq'
responses
:
"
200"
:
description
:
'
{"code":
200,
"data":
[...]}'
...
...
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