Commit 339630e0 authored by haoyanbin's avatar haoyanbin

1

parent 851bf0db
...@@ -30,7 +30,7 @@ type SysUser struct { ...@@ -30,7 +30,7 @@ type SysUser struct {
// @Security Bearer // @Security Bearer
func (e SysUser) GetPage(c *gin.Context) { func (e SysUser) GetPage(c *gin.Context) {
s := service.SysUser{} s := service.SysUser{}
req :=dto.SysUserGetPageReq{} req := dto.SysUserGetPageReq{}
err := e.MakeContext(c). err := e.MakeContext(c).
MakeOrm(). MakeOrm().
Bind(&req). Bind(&req).
...@@ -67,7 +67,7 @@ func (e SysUser) GetPage(c *gin.Context) { ...@@ -67,7 +67,7 @@ func (e SysUser) GetPage(c *gin.Context) {
// @Security Bearer // @Security Bearer
func (e SysUser) Get(c *gin.Context) { func (e SysUser) Get(c *gin.Context) {
s := service.SysUser{} s := service.SysUser{}
req :=dto.SysUserById{} req := dto.SysUserById{}
err := e.MakeContext(c). err := e.MakeContext(c).
MakeOrm(). MakeOrm().
Bind(&req, nil). Bind(&req, nil).
...@@ -101,7 +101,7 @@ func (e SysUser) Get(c *gin.Context) { ...@@ -101,7 +101,7 @@ func (e SysUser) Get(c *gin.Context) {
// @Security Bearer // @Security Bearer
func (e SysUser) Insert(c *gin.Context) { func (e SysUser) Insert(c *gin.Context) {
s := service.SysUser{} s := service.SysUser{}
req :=dto.SysUserInsertReq{} req := dto.SysUserInsertReq{}
err := e.MakeContext(c). err := e.MakeContext(c).
MakeOrm(). MakeOrm().
Bind(&req, binding.JSON). Bind(&req, binding.JSON).
...@@ -136,7 +136,7 @@ func (e SysUser) Insert(c *gin.Context) { ...@@ -136,7 +136,7 @@ func (e SysUser) Insert(c *gin.Context) {
// @Security Bearer // @Security Bearer
func (e SysUser) Update(c *gin.Context) { func (e SysUser) Update(c *gin.Context) {
s := service.SysUser{} s := service.SysUser{}
req :=dto.SysUserUpdateReq{} req := dto.SysUserUpdateReq{}
err := e.MakeContext(c). err := e.MakeContext(c).
MakeOrm(). MakeOrm().
Bind(&req). Bind(&req).
...@@ -171,7 +171,7 @@ func (e SysUser) Update(c *gin.Context) { ...@@ -171,7 +171,7 @@ func (e SysUser) Update(c *gin.Context) {
// @Security Bearer // @Security Bearer
func (e SysUser) Delete(c *gin.Context) { func (e SysUser) Delete(c *gin.Context) {
s := service.SysUser{} s := service.SysUser{}
req :=dto.SysUserById{} req := dto.SysUserById{}
err := e.MakeContext(c). err := e.MakeContext(c).
MakeOrm(). MakeOrm().
Bind(&req, binding.JSON). Bind(&req, binding.JSON).
...@@ -208,7 +208,7 @@ func (e SysUser) Delete(c *gin.Context) { ...@@ -208,7 +208,7 @@ func (e SysUser) Delete(c *gin.Context) {
// @Security Bearer // @Security Bearer
func (e SysUser) InsetAvatar(c *gin.Context) { func (e SysUser) InsetAvatar(c *gin.Context) {
s := service.SysUser{} s := service.SysUser{}
req :=dto.UpdateSysUserAvatarReq{} req := dto.UpdateSysUserAvatarReq{}
err := e.MakeContext(c). err := e.MakeContext(c).
MakeOrm(). MakeOrm().
MakeService(&s.Service). MakeService(&s.Service).
...@@ -257,7 +257,7 @@ func (e SysUser) InsetAvatar(c *gin.Context) { ...@@ -257,7 +257,7 @@ func (e SysUser) InsetAvatar(c *gin.Context) {
// @Security Bearer // @Security Bearer
func (e SysUser) UpdateStatus(c *gin.Context) { func (e SysUser) UpdateStatus(c *gin.Context) {
s := service.SysUser{} s := service.SysUser{}
req :=dto.UpdateSysUserStatusReq{} req := dto.UpdateSysUserStatusReq{}
err := e.MakeContext(c). err := e.MakeContext(c).
MakeOrm(). MakeOrm().
Bind(&req, binding.JSON, nil). Bind(&req, binding.JSON, nil).
...@@ -294,7 +294,7 @@ func (e SysUser) UpdateStatus(c *gin.Context) { ...@@ -294,7 +294,7 @@ func (e SysUser) UpdateStatus(c *gin.Context) {
// @Security Bearer // @Security Bearer
func (e SysUser) ResetPwd(c *gin.Context) { func (e SysUser) ResetPwd(c *gin.Context) {
s := service.SysUser{} s := service.SysUser{}
req :=dto.ResetSysUserPwdReq{} req := dto.ResetSysUserPwdReq{}
err := e.MakeContext(c). err := e.MakeContext(c).
MakeOrm(). MakeOrm().
Bind(&req, binding.JSON). Bind(&req, binding.JSON).
...@@ -331,7 +331,7 @@ func (e SysUser) ResetPwd(c *gin.Context) { ...@@ -331,7 +331,7 @@ func (e SysUser) ResetPwd(c *gin.Context) {
// @Security Bearer // @Security Bearer
func (e SysUser) UpdatePwd(c *gin.Context) { func (e SysUser) UpdatePwd(c *gin.Context) {
s := service.SysUser{} s := service.SysUser{}
req :=dto.PassWord{} req := dto.PassWord{}
err := e.MakeContext(c). err := e.MakeContext(c).
MakeOrm(). MakeOrm().
Bind(&req). Bind(&req).
...@@ -364,7 +364,7 @@ func (e SysUser) UpdatePwd(c *gin.Context) { ...@@ -364,7 +364,7 @@ func (e SysUser) UpdatePwd(c *gin.Context) {
// @Security Bearer // @Security Bearer
func (e SysUser) GetProfile(c *gin.Context) { func (e SysUser) GetProfile(c *gin.Context) {
s := service.SysUser{} s := service.SysUser{}
req :=dto.SysUserById{} req := dto.SysUserById{}
err := e.MakeContext(c). err := e.MakeContext(c).
MakeOrm(). MakeOrm().
MakeService(&s.Service). MakeService(&s.Service).
...@@ -401,7 +401,7 @@ func (e SysUser) GetProfile(c *gin.Context) { ...@@ -401,7 +401,7 @@ func (e SysUser) GetProfile(c *gin.Context) {
// @Router /api/v1/getinfo [get] // @Router /api/v1/getinfo [get]
// @Security Bearer // @Security Bearer
func (e SysUser) GetInfo(c *gin.Context) { func (e SysUser) GetInfo(c *gin.Context) {
req :=dto.SysUserById{} req := dto.SysUserById{}
s := service.SysUser{} s := service.SysUser{}
r := service.SysRole{} r := service.SysRole{}
err := e.MakeContext(c). err := e.MakeContext(c).
......
...@@ -80,6 +80,7 @@ func (e *SysUser) Insert(c *dto.SysUserInsertReq) error { ...@@ -80,6 +80,7 @@ func (e *SysUser) Insert(c *dto.SysUserInsertReq) error {
e.Log.Errorf("db error: %s", err) e.Log.Errorf("db error: %s", err)
return err return err
} }
c.UserId = data.UserId
return nil return nil
} }
......
...@@ -124,7 +124,8 @@ func (e OrgClub) Insert(c *gin.Context) { ...@@ -124,7 +124,8 @@ func (e OrgClub) Insert(c *gin.Context) {
sSysUser := sService.SysUser{} sSysUser := sService.SysUser{}
reqSysUser := sDto.SysUserInsertReq{} reqSysUser := sDto.SysUserInsertReq{}
reqSysUser.Username = req.ClubUserName e.MakeContext(c).MakeOrm().MakeService(&sSysUser.Service)
reqSysUser.Username = req.ClubUsername
reqSysUser.Password = "123456" reqSysUser.Password = "123456"
reqSysUser.NickName = req.ClubContacts reqSysUser.NickName = req.ClubContacts
reqSysUser.NickNameEn = req.ClubContactsEn reqSysUser.NickNameEn = req.ClubContactsEn
...@@ -150,6 +151,7 @@ func (e OrgClub) Insert(c *gin.Context) { ...@@ -150,6 +151,7 @@ func (e OrgClub) Insert(c *gin.Context) {
//关联表添加 //关联表添加
reqClubUser := dto.OrgClubUserInsertReq{} reqClubUser := dto.OrgClubUserInsertReq{}
sClubUser := service.OrgClubUser{} sClubUser := service.OrgClubUser{}
e.MakeContext(c).MakeOrm().MakeService(&sClubUser.Service)
errClubUser := e.MakeContext(c). errClubUser := e.MakeContext(c).
MakeOrm(). MakeOrm().
Bind(&req). Bind(&req).
...@@ -209,7 +211,7 @@ func (e OrgClub) Update(c *gin.Context) { ...@@ -209,7 +211,7 @@ func (e OrgClub) Update(c *gin.Context) {
sSysUser := sService.SysUser{} sSysUser := sService.SysUser{}
reqSysUser := sDto.SysUserUpdateReq{} reqSysUser := sDto.SysUserUpdateReq{}
reqSysUser.Username = req.ClubUserName reqSysUser.Username = req.ClubUsername
reqSysUser.NickName = req.ClubContacts reqSysUser.NickName = req.ClubContacts
reqSysUser.NickNameEn = req.ClubContactsEn reqSysUser.NickNameEn = req.ClubContactsEn
reqSysUser.Phone = req.ClubMobile reqSysUser.Phone = req.ClubMobile
......
...@@ -2,6 +2,9 @@ package apis ...@@ -2,6 +2,9 @@ package apis
import ( import (
"fmt" "fmt"
sService "go-admin/app/admin/service"
sDto "go-admin/app/admin/service/dto"
"strconv"
"github.com/gin-gonic/gin" "github.com/gin-gonic/gin"
"github.com/go-admin-team/go-admin-core/sdk/api" "github.com/go-admin-team/go-admin-core/sdk/api"
...@@ -110,9 +113,35 @@ func (e OrgTeamUser) Insert(c *gin.Context) { ...@@ -110,9 +113,35 @@ func (e OrgTeamUser) Insert(c *gin.Context) {
e.Error(500, err, err.Error()) e.Error(500, err, err.Error())
return 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) err = s.Insert(&req)
if err != nil { if err != nil {
e.Error(500, err, fmt.Sprintf("创建球队人员账户信息 失败,\r\n失败信息 %s", err.Error())) e.Error(500, err, fmt.Sprintf("创建球队人员账户信息 失败,\r\n失败信息 %s", err.Error()))
......
...@@ -9,7 +9,7 @@ import ( ...@@ -9,7 +9,7 @@ import (
type OrgClub struct { type OrgClub struct {
models.Model models.Model
ClubName string `json:"clubName" gorm:"type:varchar(255);comment:俱乐部名称"` ClubName string `json:"clubName" gorm:"type:varchar(255);comment:俱乐部名称"`
ClubUserName string `json:"clubUserName" gorm:"type:varchar(120);comment:俱乐部账号"` ClubUsername string `json:"clubUsername" gorm:"type:varchar(120);comment:俱乐部账号"`
ClubContacts string `json:"clubContacts" gorm:"type:varchar(120);comment:俱乐部联系人"` ClubContacts string `json:"clubContacts" gorm:"type:varchar(120);comment:俱乐部联系人"`
ClubContactsEn string `json:"clubContactsEn" gorm:"type:varchar(120);comment:俱乐部联系人"` ClubContactsEn string `json:"clubContactsEn" gorm:"type:varchar(120);comment:俱乐部联系人"`
ClubMobile string `json:"clubMobile" gorm:"type:varchar(30);comment:俱乐部联系电话"` ClubMobile string `json:"clubMobile" gorm:"type:varchar(30);comment:俱乐部联系电话"`
......
...@@ -9,13 +9,14 @@ import ( ...@@ -9,13 +9,14 @@ import (
type OrgTeamUser struct { type OrgTeamUser struct {
models.Model models.Model
ClubId string `json:"clubId" gorm:"type:int(11);comment:org_club表id"` ClubId string `json:"clubId" gorm:"type:int(20);comment:org_club表id"`
TeamId string `json:"teamId" gorm:"type:int(11);comment:org_team表id"` TeamId string `json:"teamId" gorm:"type:int(20);comment:org_team表id"`
UserId string `json:"userId" gorm:"type:int(11);comment:sys_user表id"` UserId string `json:"userId" gorm:"type:int(20);comment:sys_user表id"`
Name string `json:"name" gorm:"type:int(11);comment:姓名"` Name string `json:"name" gorm:"type:varchar(120);comment:姓名"`
Sex string `json:"sex" gorm:"type:int(11);comment:性别"` NameEn string `json:"nameEn" gorm:"type:varchar(120);comment:姓名"`
UserImg string `json:"userImg" gorm:"type:int(11);comment:用户照片"` Sex string `json:"sex" gorm:"type:varchar(120);comment:性别"`
SignImg string `json:"signImg" gorm:"type:int(11);comment:签名照片"` UserImg string `json:"userImg" gorm:"type:varchar(255);comment:用户照片"`
SignImg string `json:"signImg" gorm:"type:varchar(255);comment:签名照片"`
models.ModelTime models.ModelTime
models.ControlBy models.ControlBy
} }
......
...@@ -8,7 +8,9 @@ import ( ...@@ -8,7 +8,9 @@ import (
type OrgClubGetPageReq struct { type OrgClubGetPageReq struct {
dto.Pagination `search:"-"` 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{} { func (m *OrgClubGetPageReq) GetNeedSearch() interface{} {
...@@ -18,7 +20,7 @@ func (m *OrgClubGetPageReq) GetNeedSearch() interface{} { ...@@ -18,7 +20,7 @@ func (m *OrgClubGetPageReq) GetNeedSearch() interface{} {
type OrgClubInsertReq struct { type OrgClubInsertReq struct {
Id int `json:"-" comment:""` // Id int `json:"-" comment:""` //
ClubName string `json:"clubName" comment:"俱乐部名称"` ClubName string `json:"clubName" comment:"俱乐部名称"`
ClubUserName string `json:"clubUserName" comment:"俱乐部账号"` ClubUsername string `json:"clubUsername" comment:"俱乐部账号"`
ClubContacts string `json:"clubContacts" comment:"俱乐部联系人"` ClubContacts string `json:"clubContacts" comment:"俱乐部联系人"`
ClubContactsEn string `json:"clubContactsEn" comment:"俱乐部联系人"` ClubContactsEn string `json:"clubContactsEn" comment:"俱乐部联系人"`
ClubMobile string `json:"clubMobile" comment:"俱乐部联系电话"` ClubMobile string `json:"clubMobile" comment:"俱乐部联系电话"`
...@@ -32,7 +34,7 @@ func (s *OrgClubInsertReq) Generate(model *models.OrgClub) { ...@@ -32,7 +34,7 @@ func (s *OrgClubInsertReq) Generate(model *models.OrgClub) {
model.Model = common.Model{Id: s.Id} model.Model = common.Model{Id: s.Id}
} }
model.ClubName = s.ClubName model.ClubName = s.ClubName
model.ClubUserName = s.ClubUserName model.ClubUsername = s.ClubUsername
model.ClubContacts = s.ClubContacts model.ClubContacts = s.ClubContacts
model.ClubContactsEn = s.ClubContactsEn model.ClubContactsEn = s.ClubContactsEn
model.ClubMobile = s.ClubMobile model.ClubMobile = s.ClubMobile
...@@ -47,7 +49,7 @@ func (s *OrgClubInsertReq) GetId() interface{} { ...@@ -47,7 +49,7 @@ func (s *OrgClubInsertReq) GetId() interface{} {
type OrgClubUpdateReq struct { type OrgClubUpdateReq struct {
Id int `uri:"id" comment:""` // Id int `uri:"id" comment:""` //
ClubName string `json:"clubName" comment:"俱乐部名称"` ClubName string `json:"clubName" comment:"俱乐部名称"`
ClubUserName string `json:"clubUserName" comment:"俱乐部账号"` ClubUsername string `json:"clubUsername" comment:"俱乐部账号"`
ClubContacts string `json:"clubContacts" comment:"俱乐部联系人"` ClubContacts string `json:"clubContacts" comment:"俱乐部联系人"`
ClubContactsEn string `json:"clubContactsEn" comment:"俱乐部联系人"` ClubContactsEn string `json:"clubContactsEn" comment:"俱乐部联系人"`
ClubMobile string `json:"clubMobile" comment:"俱乐部联系电话"` ClubMobile string `json:"clubMobile" comment:"俱乐部联系电话"`
...@@ -61,7 +63,7 @@ func (s *OrgClubUpdateReq) Generate(model *models.OrgClub) { ...@@ -61,7 +63,7 @@ func (s *OrgClubUpdateReq) Generate(model *models.OrgClub) {
model.Model = common.Model{Id: s.Id} model.Model = common.Model{Id: s.Id}
} }
model.ClubName = s.ClubName model.ClubName = s.ClubName
model.ClubUserName = s.ClubUserName model.ClubUsername = s.ClubUsername
model.ClubContacts = s.ClubContacts model.ClubContacts = s.ClubContacts
model.ClubContactsEn = s.ClubContactsEn model.ClubContactsEn = s.ClubContactsEn
model.ClubMobile = s.ClubMobile model.ClubMobile = s.ClubMobile
......
...@@ -31,11 +31,14 @@ type OrgTeamUserInsertReq struct { ...@@ -31,11 +31,14 @@ type OrgTeamUserInsertReq struct {
Id int `json:"-" comment:""` // Id int `json:"-" comment:""` //
ClubId string `json:"clubId" comment:"org_club表id"` ClubId string `json:"clubId" comment:"org_club表id"`
TeamId string `json:"teamId" comment:"org_team表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:"姓名"` Name string `json:"name" comment:"姓名"`
NameEn string `json:"name_en" comment:"姓名"`
Sex string `json:"sex" comment:"性别"` Sex string `json:"sex" comment:"性别"`
UserImg string `json:"userImg" comment:"用户照片"` UserImg string `json:"userImg" comment:"用户照片"`
SignImg string `json:"signImg" comment:"签名照片"` SignImg string `json:"signImg" comment:"签名照片"`
UserName string `json:"userName" comment:"账号"`
common.ControlBy common.ControlBy
} }
......
...@@ -21,7 +21,8 @@ func (e *OrgClub) GetPage(c *dto.OrgClubGetPageReq, p *actions.DataPermission, l ...@@ -21,7 +21,8 @@ func (e *OrgClub) GetPage(c *dto.OrgClubGetPageReq, p *actions.DataPermission, l
var err error var err error
var data models.OrgClub 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( Scopes(
cDto.MakeCondition(c.GetNeedSearch()), cDto.MakeCondition(c.GetNeedSearch()),
cDto.Paginate(c.GetPageSize(), c.GetPageIndex()), cDto.Paginate(c.GetPageSize(), c.GetPageIndex()),
...@@ -67,6 +68,7 @@ func (e *OrgClub) Insert(c *dto.OrgClubInsertReq) error { ...@@ -67,6 +68,7 @@ func (e *OrgClub) Insert(c *dto.OrgClubInsertReq) error {
e.Log.Errorf("OrgClubService Insert error:%s \r\n", err) e.Log.Errorf("OrgClubService Insert error:%s \r\n", err)
return err return err
} }
c.Id = data.Id
return nil return nil
} }
......
...@@ -1300,6 +1300,72 @@ var doc = `{ ...@@ -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": { "/api/v1/org-club-team": {
"get": { "get": {
"security": [ "security": [
...@@ -1336,6 +1402,36 @@ var doc = `{ ...@@ -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": { "/api/v1/org-club-team/get-match": {
"get": { "get": {
"security": [ "security": [
...@@ -1372,18 +1468,18 @@ var doc = `{ ...@@ -1372,18 +1468,18 @@ var doc = `{
} }
} }
}, },
"/api/v1/org-club-team/{id}": { "/api/v1/org-club-team/info": {
"get": { "get": {
"security": [ "security": [
{ {
"Bearer": [] "Bearer": []
} }
], ],
"description": "\u003c俱乐部\u003e获取球队比赛详情", "description": "\u003c赛事\u003e获取比赛附加数据(比赛详情,联赛,赛区,赛季,球队)",
"tags": [ "tags": [
"\u003c俱乐部\u003e球队" "\u003c赛事\u003e比赛"
], ],
"summary": "\u003c俱乐部\u003e获取球队比赛详情", "summary": "\u003c赛事\u003e获取比赛附加数据(比赛详情,联赛,赛区,赛季,球队)",
"parameters": [ "parameters": [
{ {
"type": "string", "type": "string",
...@@ -1807,11 +1903,11 @@ var doc = `{ ...@@ -1807,11 +1903,11 @@ var doc = `{
"Bearer": [] "Bearer": []
} }
], ],
"description": "获取联赛列表", "description": "\u003c赛事\u003e获取联赛列表",
"tags": [ "tags": [
"联赛" "\u003c赛事\u003e联赛"
], ],
"summary": "获取联赛列表", "summary": "\u003c赛事\u003e获取联赛列表",
"parameters": [ "parameters": [
{ {
"type": "integer", "type": "integer",
...@@ -1841,14 +1937,14 @@ var doc = `{ ...@@ -1841,14 +1937,14 @@ var doc = `{
"Bearer": [] "Bearer": []
} }
], ],
"description": "创建联赛", "description": "\u003c赛事\u003e创建联赛",
"consumes": [ "consumes": [
"application/json" "application/json"
], ],
"tags": [ "tags": [
"联赛" "\u003c赛事\u003e联赛"
], ],
"summary": "创建联赛", "summary": "\u003c赛事\u003e创建联赛",
"parameters": [ "parameters": [
{ {
"description": "data", "description": "data",
...@@ -1875,11 +1971,11 @@ var doc = `{ ...@@ -1875,11 +1971,11 @@ var doc = `{
"Bearer": [] "Bearer": []
} }
], ],
"description": "删除联赛", "description": "\u003c赛事\u003e删除联赛",
"tags": [ "tags": [
"联赛" "\u003c赛事\u003e联赛"
], ],
"summary": "删除联赛", "summary": "\u003c赛事\u003e删除联赛",
"parameters": [ "parameters": [
{ {
"description": "ids", "description": "ids",
...@@ -1910,11 +2006,11 @@ var doc = `{ ...@@ -1910,11 +2006,11 @@ var doc = `{
"Bearer": [] "Bearer": []
} }
], ],
"description": "获取联赛", "description": "\u003c赛事\u003e获取联赛",
"tags": [ "tags": [
"联赛" "\u003c赛事\u003e联赛"
], ],
"summary": "获取联赛", "summary": "\u003c赛事\u003e获取联赛",
"parameters": [ "parameters": [
{ {
"type": "string", "type": "string",
...@@ -1938,14 +2034,14 @@ var doc = `{ ...@@ -1938,14 +2034,14 @@ var doc = `{
"Bearer": [] "Bearer": []
} }
], ],
"description": "修改联赛", "description": "\u003c赛事\u003e修改联赛",
"consumes": [ "consumes": [
"application/json" "application/json"
], ],
"tags": [ "tags": [
"联赛" "\u003c赛事\u003e联赛"
], ],
"summary": "修改联赛", "summary": "\u003c赛事\u003e修改联赛",
"parameters": [ "parameters": [
{ {
"description": "body", "description": "body",
...@@ -2788,11 +2884,11 @@ var doc = `{ ...@@ -2788,11 +2884,11 @@ var doc = `{
"Bearer": [] "Bearer": []
} }
], ],
"description": "\u003c俱乐部\u003e获取球员数据列表", "description": "\u003c球队\u003e获取球员列表",
"tags": [ "tags": [
"\u003c俱乐部\u003e球员" "\u003c球队\u003e球员"
], ],
"summary": "\u003c俱乐部\u003e获取球员数据列表", "summary": "\u003c球队\u003e获取球员列表",
"parameters": [ "parameters": [
{ {
"type": "integer", "type": "integer",
...@@ -3051,42 +3147,6 @@ var doc = `{ ...@@ -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}": { "/api/v1/org-player/{id}": {
"get": { "get": {
"security": [ "security": [
...@@ -3094,11 +3154,11 @@ var doc = `{ ...@@ -3094,11 +3154,11 @@ var doc = `{
"Bearer": [] "Bearer": []
} }
], ],
"description": "\u003c俱乐部\u003e获取球员比赛详情", "description": "\u003c球队\u003e获取球员",
"tags": [ "tags": [
"\u003c俱乐部\u003e球员" "\u003c球队\u003e球员"
], ],
"summary": "\u003c俱乐部\u003e获取球员比赛详情", "summary": "\u003c球队\u003e获取球员",
"parameters": [ "parameters": [
{ {
"type": "string", "type": "string",
...@@ -3717,6 +3777,36 @@ var doc = `{ ...@@ -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}": { "/api/v1/org-team-match/update-players/{id}": {
"put": { "put": {
"security": [ "security": [
...@@ -6251,6 +6341,9 @@ var doc = `{ ...@@ -6251,6 +6341,9 @@ var doc = `{
"clubContacts": { "clubContacts": {
"type": "string" "type": "string"
}, },
"clubContactsEn": {
"type": "string"
},
"clubLogo": { "clubLogo": {
"type": "string" "type": "string"
}, },
...@@ -6263,6 +6356,9 @@ var doc = `{ ...@@ -6263,6 +6356,9 @@ var doc = `{
"clubQrcode": { "clubQrcode": {
"type": "string" "type": "string"
}, },
"clubUserName": {
"type": "string"
},
"createBy": { "createBy": {
"type": "integer" "type": "integer"
}, },
...@@ -6277,6 +6373,9 @@ var doc = `{ ...@@ -6277,6 +6373,9 @@ var doc = `{
"clubContacts": { "clubContacts": {
"type": "string" "type": "string"
}, },
"clubContactsEn": {
"type": "string"
},
"clubLogo": { "clubLogo": {
"type": "string" "type": "string"
}, },
...@@ -6289,6 +6388,9 @@ var doc = `{ ...@@ -6289,6 +6388,9 @@ var doc = `{
"clubQrcode": { "clubQrcode": {
"type": "string" "type": "string"
}, },
"clubUserName": {
"type": "string"
},
"createBy": { "createBy": {
"type": "integer" "type": "integer"
}, },
...@@ -6414,6 +6516,10 @@ var doc = `{ ...@@ -6414,6 +6516,10 @@ var doc = `{
"dto.OrgMatchEvaluateGetPageReq": { "dto.OrgMatchEvaluateGetPageReq": {
"type": "object", "type": "object",
"properties": { "properties": {
"contentStatus": {
"description": "教练评价状态 1 待评价 2 评价完成",
"type": "string"
},
"divisionId": { "divisionId": {
"description": "赛区id", "description": "赛区id",
"type": "string" "type": "string"
...@@ -6456,6 +6562,9 @@ var doc = `{ ...@@ -6456,6 +6562,9 @@ var doc = `{
"content": { "content": {
"type": "string" "type": "string"
}, },
"contentStatus": {
"type": "string"
},
"createBy": { "createBy": {
"type": "integer" "type": "integer"
}, },
...@@ -7065,6 +7174,12 @@ var doc = `{ ...@@ -7065,6 +7174,12 @@ var doc = `{
"name": { "name": {
"type": "string" "type": "string"
}, },
"name_en": {
"type": "string"
},
"roleId": {
"type": "string"
},
"sex": { "sex": {
"type": "string" "type": "string"
}, },
...@@ -7082,6 +7197,9 @@ var doc = `{ ...@@ -7082,6 +7197,9 @@ var doc = `{
}, },
"userImg": { "userImg": {
"type": "string" "type": "string"
},
"userName": {
"type": "string"
} }
} }
}, },
...@@ -7975,6 +8093,9 @@ var doc = `{ ...@@ -7975,6 +8093,9 @@ var doc = `{
"nickName": { "nickName": {
"type": "string" "type": "string"
}, },
"nickNameEn": {
"type": "string"
},
"password": { "password": {
"type": "string" "type": "string"
}, },
...@@ -8027,6 +8148,9 @@ var doc = `{ ...@@ -8027,6 +8148,9 @@ var doc = `{
"nickName": { "nickName": {
"type": "string" "type": "string"
}, },
"nickNameEn": {
"type": "string"
},
"phone": { "phone": {
"type": "string" "type": "string"
}, },
......
...@@ -1283,6 +1283,72 @@ ...@@ -1283,6 +1283,72 @@
} }
} }
}, },
"/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": { "/api/v1/org-club-team": {
"get": { "get": {
"security": [ "security": [
...@@ -1319,6 +1385,36 @@ ...@@ -1319,6 +1385,36 @@
} }
} }
}, },
"/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": { "/api/v1/org-club-team/get-match": {
"get": { "get": {
"security": [ "security": [
...@@ -1355,18 +1451,18 @@ ...@@ -1355,18 +1451,18 @@
} }
} }
}, },
"/api/v1/org-club-team/{id}": { "/api/v1/org-club-team/info": {
"get": { "get": {
"security": [ "security": [
{ {
"Bearer": [] "Bearer": []
} }
], ],
"description": "\u003c俱乐部\u003e获取球队比赛详情", "description": "\u003c赛事\u003e获取比赛附加数据(比赛详情,联赛,赛区,赛季,球队)",
"tags": [ "tags": [
"\u003c俱乐部\u003e球队" "\u003c赛事\u003e比赛"
], ],
"summary": "\u003c俱乐部\u003e获取球队比赛详情", "summary": "\u003c赛事\u003e获取比赛附加数据(比赛详情,联赛,赛区,赛季,球队)",
"parameters": [ "parameters": [
{ {
"type": "string", "type": "string",
...@@ -1790,11 +1886,11 @@ ...@@ -1790,11 +1886,11 @@
"Bearer": [] "Bearer": []
} }
], ],
"description": "获取联赛列表", "description": "\u003c赛事\u003e获取联赛列表",
"tags": [ "tags": [
"联赛" "\u003c赛事\u003e联赛"
], ],
"summary": "获取联赛列表", "summary": "\u003c赛事\u003e获取联赛列表",
"parameters": [ "parameters": [
{ {
"type": "integer", "type": "integer",
...@@ -1824,14 +1920,14 @@ ...@@ -1824,14 +1920,14 @@
"Bearer": [] "Bearer": []
} }
], ],
"description": "创建联赛", "description": "\u003c赛事\u003e创建联赛",
"consumes": [ "consumes": [
"application/json" "application/json"
], ],
"tags": [ "tags": [
"联赛" "\u003c赛事\u003e联赛"
], ],
"summary": "创建联赛", "summary": "\u003c赛事\u003e创建联赛",
"parameters": [ "parameters": [
{ {
"description": "data", "description": "data",
...@@ -1858,11 +1954,11 @@ ...@@ -1858,11 +1954,11 @@
"Bearer": [] "Bearer": []
} }
], ],
"description": "删除联赛", "description": "\u003c赛事\u003e删除联赛",
"tags": [ "tags": [
"联赛" "\u003c赛事\u003e联赛"
], ],
"summary": "删除联赛", "summary": "\u003c赛事\u003e删除联赛",
"parameters": [ "parameters": [
{ {
"description": "ids", "description": "ids",
...@@ -1893,11 +1989,11 @@ ...@@ -1893,11 +1989,11 @@
"Bearer": [] "Bearer": []
} }
], ],
"description": "获取联赛", "description": "\u003c赛事\u003e获取联赛",
"tags": [ "tags": [
"联赛" "\u003c赛事\u003e联赛"
], ],
"summary": "获取联赛", "summary": "\u003c赛事\u003e获取联赛",
"parameters": [ "parameters": [
{ {
"type": "string", "type": "string",
...@@ -1921,14 +2017,14 @@ ...@@ -1921,14 +2017,14 @@
"Bearer": [] "Bearer": []
} }
], ],
"description": "修改联赛", "description": "\u003c赛事\u003e修改联赛",
"consumes": [ "consumes": [
"application/json" "application/json"
], ],
"tags": [ "tags": [
"联赛" "\u003c赛事\u003e联赛"
], ],
"summary": "修改联赛", "summary": "\u003c赛事\u003e修改联赛",
"parameters": [ "parameters": [
{ {
"description": "body", "description": "body",
...@@ -2771,11 +2867,11 @@ ...@@ -2771,11 +2867,11 @@
"Bearer": [] "Bearer": []
} }
], ],
"description": "\u003c俱乐部\u003e获取球员数据列表", "description": "\u003c球队\u003e获取球员列表",
"tags": [ "tags": [
"\u003c俱乐部\u003e球员" "\u003c球队\u003e球员"
], ],
"summary": "\u003c俱乐部\u003e获取球员数据列表", "summary": "\u003c球队\u003e获取球员列表",
"parameters": [ "parameters": [
{ {
"type": "integer", "type": "integer",
...@@ -3034,42 +3130,6 @@ ...@@ -3034,42 +3130,6 @@
} }
} }
}, },
"/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}": { "/api/v1/org-player/{id}": {
"get": { "get": {
"security": [ "security": [
...@@ -3077,11 +3137,11 @@ ...@@ -3077,11 +3137,11 @@
"Bearer": [] "Bearer": []
} }
], ],
"description": "\u003c俱乐部\u003e获取球员比赛详情", "description": "\u003c球队\u003e获取球员",
"tags": [ "tags": [
"\u003c俱乐部\u003e球员" "\u003c球队\u003e球员"
], ],
"summary": "\u003c俱乐部\u003e获取球员比赛详情", "summary": "\u003c球队\u003e获取球员",
"parameters": [ "parameters": [
{ {
"type": "string", "type": "string",
...@@ -3700,6 +3760,36 @@ ...@@ -3700,6 +3760,36 @@
} }
} }
}, },
"/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}": { "/api/v1/org-team-match/update-players/{id}": {
"put": { "put": {
"security": [ "security": [
...@@ -6234,6 +6324,9 @@ ...@@ -6234,6 +6324,9 @@
"clubContacts": { "clubContacts": {
"type": "string" "type": "string"
}, },
"clubContactsEn": {
"type": "string"
},
"clubLogo": { "clubLogo": {
"type": "string" "type": "string"
}, },
...@@ -6246,6 +6339,9 @@ ...@@ -6246,6 +6339,9 @@
"clubQrcode": { "clubQrcode": {
"type": "string" "type": "string"
}, },
"clubUserName": {
"type": "string"
},
"createBy": { "createBy": {
"type": "integer" "type": "integer"
}, },
...@@ -6260,6 +6356,9 @@ ...@@ -6260,6 +6356,9 @@
"clubContacts": { "clubContacts": {
"type": "string" "type": "string"
}, },
"clubContactsEn": {
"type": "string"
},
"clubLogo": { "clubLogo": {
"type": "string" "type": "string"
}, },
...@@ -6272,6 +6371,9 @@ ...@@ -6272,6 +6371,9 @@
"clubQrcode": { "clubQrcode": {
"type": "string" "type": "string"
}, },
"clubUserName": {
"type": "string"
},
"createBy": { "createBy": {
"type": "integer" "type": "integer"
}, },
...@@ -6397,6 +6499,10 @@ ...@@ -6397,6 +6499,10 @@
"dto.OrgMatchEvaluateGetPageReq": { "dto.OrgMatchEvaluateGetPageReq": {
"type": "object", "type": "object",
"properties": { "properties": {
"contentStatus": {
"description": "教练评价状态 1 待评价 2 评价完成",
"type": "string"
},
"divisionId": { "divisionId": {
"description": "赛区id", "description": "赛区id",
"type": "string" "type": "string"
...@@ -6439,6 +6545,9 @@ ...@@ -6439,6 +6545,9 @@
"content": { "content": {
"type": "string" "type": "string"
}, },
"contentStatus": {
"type": "string"
},
"createBy": { "createBy": {
"type": "integer" "type": "integer"
}, },
...@@ -7048,6 +7157,12 @@ ...@@ -7048,6 +7157,12 @@
"name": { "name": {
"type": "string" "type": "string"
}, },
"name_en": {
"type": "string"
},
"roleId": {
"type": "string"
},
"sex": { "sex": {
"type": "string" "type": "string"
}, },
...@@ -7065,6 +7180,9 @@ ...@@ -7065,6 +7180,9 @@
}, },
"userImg": { "userImg": {
"type": "string" "type": "string"
},
"userName": {
"type": "string"
} }
} }
}, },
...@@ -7958,6 +8076,9 @@ ...@@ -7958,6 +8076,9 @@
"nickName": { "nickName": {
"type": "string" "type": "string"
}, },
"nickNameEn": {
"type": "string"
},
"password": { "password": {
"type": "string" "type": "string"
}, },
...@@ -8010,6 +8131,9 @@ ...@@ -8010,6 +8131,9 @@
"nickName": { "nickName": {
"type": "string" "type": "string"
}, },
"nickNameEn": {
"type": "string"
},
"phone": { "phone": {
"type": "string" "type": "string"
}, },
......
...@@ -58,6 +58,8 @@ definitions: ...@@ -58,6 +58,8 @@ definitions:
properties: properties:
clubContacts: clubContacts:
type: string type: string
clubContactsEn:
type: string
clubLogo: clubLogo:
type: string type: string
clubMobile: clubMobile:
...@@ -66,6 +68,8 @@ definitions: ...@@ -66,6 +68,8 @@ definitions:
type: string type: string
clubQrcode: clubQrcode:
type: string type: string
clubUserName:
type: string
createBy: createBy:
type: integer type: integer
updateBy: updateBy:
...@@ -75,6 +79,8 @@ definitions: ...@@ -75,6 +79,8 @@ definitions:
properties: properties:
clubContacts: clubContacts:
type: string type: string
clubContactsEn:
type: string
clubLogo: clubLogo:
type: string type: string
clubMobile: clubMobile:
...@@ -83,6 +89,8 @@ definitions: ...@@ -83,6 +89,8 @@ definitions:
type: string type: string
clubQrcode: clubQrcode:
type: string type: string
clubUserName:
type: string
createBy: createBy:
type: integer type: integer
id: id:
...@@ -164,6 +172,9 @@ definitions: ...@@ -164,6 +172,9 @@ definitions:
type: object type: object
dto.OrgMatchEvaluateGetPageReq: dto.OrgMatchEvaluateGetPageReq:
properties: properties:
contentStatus:
description: 教练评价状态 1 待评价 2 评价完成
type: string
divisionId: divisionId:
description: 赛区id description: 赛区id
type: string type: string
...@@ -194,6 +205,8 @@ definitions: ...@@ -194,6 +205,8 @@ definitions:
properties: properties:
content: content:
type: string type: string
contentStatus:
type: string
createBy: createBy:
type: integer type: integer
id: id:
...@@ -595,6 +608,10 @@ definitions: ...@@ -595,6 +608,10 @@ definitions:
type: integer type: integer
name: name:
type: string type: string
name_en:
type: string
roleId:
type: string
sex: sex:
type: string type: string
signImg: signImg:
...@@ -607,6 +624,8 @@ definitions: ...@@ -607,6 +624,8 @@ definitions:
type: string type: string
userImg: userImg:
type: string type: string
userName:
type: string
type: object type: object
dto.OrgTeamUserUpdateReq: dto.OrgTeamUserUpdateReq:
properties: properties:
...@@ -1215,6 +1234,8 @@ definitions: ...@@ -1215,6 +1234,8 @@ definitions:
type: string type: string
nickName: nickName:
type: string type: string
nickNameEn:
type: string
password: password:
type: string type: string
phone: phone:
...@@ -1250,6 +1271,8 @@ definitions: ...@@ -1250,6 +1271,8 @@ definitions:
type: string type: string
nickName: nickName:
type: string type: string
nickNameEn:
type: string
phone: phone:
type: string type: string
postId: postId:
...@@ -2437,6 +2460,46 @@ paths: ...@@ -2437,6 +2460,46 @@ paths:
summary: <俱乐部>创建俱乐部 summary: <俱乐部>创建俱乐部
tags: 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: /api/v1/org-club-team:
get: get:
description: <俱乐部>获取球队数据列表 description: <俱乐部>获取球队数据列表
...@@ -2459,7 +2522,7 @@ paths: ...@@ -2459,7 +2522,7 @@ paths:
summary: <俱乐部>获取球队数据列表 summary: <俱乐部>获取球队数据列表
tags: tags:
- <俱乐部>球队 - <俱乐部>球队
/api/v1/org-club-team/{id}: /api/v1/org-club-team/get:
get: get:
description: <俱乐部>获取球队比赛详情 description: <俱乐部>获取球队比赛详情
parameters: parameters:
...@@ -2499,6 +2562,24 @@ paths: ...@@ -2499,6 +2562,24 @@ paths:
summary: <俱乐部>获取球队比赛列表 summary: <俱乐部>获取球队比赛列表
tags: 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: /api/v1/org-club-user:
delete: delete:
description: 删除俱乐部账户信息 description: 删除俱乐部账户信息
...@@ -2744,7 +2825,7 @@ paths: ...@@ -2744,7 +2825,7 @@ paths:
- <赛事>赛区 - <赛事>赛区
/api/v1/org-league: /api/v1/org-league:
delete: delete:
description: 删除联赛 description: <赛事>删除联赛
parameters: parameters:
- description: ids - description: ids
in: body in: body
...@@ -2760,11 +2841,11 @@ paths: ...@@ -2760,11 +2841,11 @@ paths:
type: string type: string
security: security:
- Bearer: [] - Bearer: []
summary: 删除联赛 summary: <赛事>删除联赛
tags: tags:
- 联赛 - <赛事>联赛
get: get:
description: 获取联赛列表 description: <赛事>获取联赛列表
parameters: parameters:
- description: 页条数 - description: 页条数
in: query in: query
...@@ -2781,13 +2862,13 @@ paths: ...@@ -2781,13 +2862,13 @@ paths:
type: string type: string
security: security:
- Bearer: [] - Bearer: []
summary: 获取联赛列表 summary: <赛事>获取联赛列表
tags: tags:
- 联赛 - <赛事>联赛
post: post:
consumes: consumes:
- application/json - application/json
description: 创建联赛 description: <赛事>创建联赛
parameters: parameters:
- description: data - description: data
in: body in: body
...@@ -2802,12 +2883,12 @@ paths: ...@@ -2802,12 +2883,12 @@ paths:
type: string type: string
security: security:
- Bearer: [] - Bearer: []
summary: 创建联赛 summary: <赛事>创建联赛
tags: tags:
- 联赛 - <赛事>联赛
/api/v1/org-league/{id}: /api/v1/org-league/{id}:
get: get:
description: 获取联赛 description: <赛事>获取联赛
parameters: parameters:
- description: id - description: id
in: path in: path
...@@ -2820,13 +2901,13 @@ paths: ...@@ -2820,13 +2901,13 @@ paths:
type: string type: string
security: security:
- Bearer: [] - Bearer: []
summary: 获取联赛 summary: <赛事>获取联赛
tags: tags:
- 联赛 - <赛事>联赛
put: put:
consumes: consumes:
- application/json - application/json
description: 修改联赛 description: <赛事>修改联赛
parameters: parameters:
- description: body - description: body
in: body in: body
...@@ -2841,9 +2922,9 @@ paths: ...@@ -2841,9 +2922,9 @@ paths:
type: string type: string
security: security:
- Bearer: [] - Bearer: []
summary: 修改联赛 summary: <赛事>修改联赛
tags: tags:
- 联赛 - <赛事>联赛
/api/v1/org-match: /api/v1/org-match:
delete: delete:
description: <赛事>删除比赛 description: <赛事>删除比赛
...@@ -3363,7 +3444,7 @@ paths: ...@@ -3363,7 +3444,7 @@ paths:
tags: tags:
- <球队>球员 - <球队>球员
get: get:
description: <俱乐部>获取球员数据列表 description: <球队>获取球员列表
parameters: parameters:
- description: 页条数 - description: 页条数
in: query in: query
...@@ -3380,9 +3461,9 @@ paths: ...@@ -3380,9 +3461,9 @@ paths:
type: string type: string
security: security:
- Bearer: [] - Bearer: []
summary: <俱乐部>获取球员数据列表 summary: <球队>获取球员列表
tags: tags:
- <俱乐部>球员 - <球队>球员
post: post:
consumes: consumes:
- application/json - application/json
...@@ -3508,7 +3589,7 @@ paths: ...@@ -3508,7 +3589,7 @@ paths:
- 球员账户信息 - 球员账户信息
/api/v1/org-player/{id}: /api/v1/org-player/{id}:
get: get:
description: <俱乐部>获取球员比赛详情 description: <球队>获取球员
parameters: parameters:
- description: id - description: id
in: path in: path
...@@ -3521,9 +3602,9 @@ paths: ...@@ -3521,9 +3602,9 @@ paths:
type: string type: string
security: security:
- Bearer: [] - Bearer: []
summary: <俱乐部>获取球员比赛详情 summary: <球队>获取球员
tags: tags:
- <俱乐部>球员 - <球队>球员
put: put:
consumes: consumes:
- application/json - application/json
...@@ -3545,28 +3626,6 @@ paths: ...@@ -3545,28 +3626,6 @@ paths:
summary: <球队>修改球员 summary: <球队>修改球员
tags: 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: /api/v1/org-season:
delete: delete:
description: 删除赛季 description: 删除赛季
...@@ -3912,6 +3971,24 @@ paths: ...@@ -3912,6 +3971,24 @@ paths:
summary: <球队>获取比赛所有球员 summary: <球队>获取比赛所有球员
tags: 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}: /api/v1/org-team-match/update-players/{id}:
put: put:
consumes: consumes:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment