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
6dc04882
Commit
6dc04882
authored
Jan 29, 2022
by
haoyanbin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
ceb0efa5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
org_match.go
app/operate/apis/org_match.go
+7
-4
No files found.
app/operate/apis/org_match.go
View file @
6dc04882
...
...
@@ -141,6 +141,11 @@ func (e OrgMatch) GetInfo(c *gin.Context) {
return
}
//获取clubId
sOrgClubUser
:=
service
.
OrgClubUser
{}
e
.
MakeContext
(
c
)
.
MakeOrm
()
.
MakeService
(
&
sOrgClubUser
.
Service
)
_
,
clubId
:=
sOrgClubUser
.
GetClubId
(
user
.
GetUserId
(
c
))
//球队列表
sOrgTeam
:=
service
.
OrgTeam
{}
listOrgTeam
:=
make
([]
dto
.
OrgTeamGetPageReply
,
0
)
...
...
@@ -151,6 +156,7 @@ func (e OrgMatch) GetInfo(c *gin.Context) {
reqOrgTeam
:=
new
(
dto
.
OrgTeamGetPageReq
)
reqOrgTeam
.
PageIndex
=
1
reqOrgTeam
.
PageSize
=
999
reqOrgTeam
.
ClubId
=
clubId
err
=
sOrgTeam
.
GetPage
(
reqOrgTeam
,
p
,
&
listOrgTeam
,
&
countOrgTeam
)
...
...
@@ -159,10 +165,7 @@ func (e OrgMatch) GetInfo(c *gin.Context) {
return
}
sOrgClubUser
:=
service
.
OrgClubUser
{}
e
.
MakeContext
(
c
)
.
MakeOrm
()
.
MakeService
(
&
sOrgClubUser
.
Service
)
_
,
clubId
:=
sOrgClubUser
.
GetClubId
(
user
.
GetUserId
(
c
))
//俱乐部信息
sOrgClub
:=
service
.
OrgClub
{}
var
objectOrgClub
models
.
OrgClub
...
...
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