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
5c583e9d
Commit
5c583e9d
authored
Jan 26, 2022
by
haoyanbin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
e98ea3f0
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
org_player.go
app/mobile/apis/org_player.go
+2
-2
org_player.go
app/mobile/service/dto/org_player.go
+1
-1
org_player.go
app/mobile/service/org_player.go
+1
-1
No files found.
app/mobile/apis/org_player.go
View file @
5c583e9d
...
...
@@ -150,10 +150,10 @@ func (e OrgPlayer) GetInfo(c *gin.Context) {
return
}
var
object
dto
.
OrgPlayerGetReply
//reqGet := dto.OrgPlayerGetReq{Id: req.
Id}
reqGet
:=
dto
.
OrgPlayerGetReq
{
PlayerId
:
req
.
Player
Id
}
p
:=
actions
.
GetPermissionFromContext
(
c
)
err
=
s
.
Get
(
&
req
,
p
,
&
object
)
err
=
s
.
Get
(
&
req
Get
,
p
,
&
object
)
if
err
!=
nil
{
e
.
Error
(
500
,
err
,
fmt
.
Sprintf
(
"获取球员失败,
\r\n
失败信息 %s"
,
err
.
Error
()))
return
...
...
app/mobile/service/dto/org_player.go
View file @
5c583e9d
...
...
@@ -140,7 +140,7 @@ type OrgMatchEvaluateList struct {
// OrgPlayerGetReq 功能获取请求参数
type
OrgPlayerGetReq
struct
{
Id
int
`uri:"id"`
Player
Id
int
`uri:"id"`
}
type
OrgPlayerGetReply
struct
{
...
...
app/mobile/service/org_player.go
View file @
5c583e9d
...
...
@@ -240,7 +240,7 @@ func (e *OrgPlayer) GetMatchId(playerId string, seasonId string) (error, []strin
return
nil
,
matchId
}
func
(
e
*
OrgPlayer
)
GetRoundsScoring
(
c
*
dto
.
OrgPlayerGetReq
,
matchId
[]
string
,
data
*
[]
dto
.
OrgPlayerRoundsScoring
,
count
*
int64
)
error
{
func
(
e
*
OrgPlayer
)
GetRoundsScoring
(
c
*
dto
.
OrgPlayerGet
Info
Req
,
matchId
[]
string
,
data
*
[]
dto
.
OrgPlayerRoundsScoring
,
count
*
int64
)
error
{
var
err
error
field
:=
"om.id, om.rounds, om.grouping,"
+
...
...
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