Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
xuzhenhao
/
rlw-dev
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 7b4931a2
authored
Dec 09, 2017
by
xuzhenhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加了返回个人排行信息的时候可以看到前后玩家信息的功能
1 parent
7247b1d2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
ranklist/ranklist.go
ranklist/ranklist.go
View file @
7b4931a
...
@@ -176,7 +176,7 @@ func SingleRangeRank(c *gin.Context) {
...
@@ -176,7 +176,7 @@ func SingleRangeRank(c *gin.Context) {
igt
:=
sdkredis
.
IceGameTopRedisGetSingleUserRangeRankInfo
(
uid
,
gtid
,
gid
,
toptype
,
prerank
,
nextrank
)
igt
:=
sdkredis
.
IceGameTopRedisGetSingleUserRangeRankInfo
(
uid
,
gtid
,
gid
,
toptype
,
prerank
,
nextrank
)
fmt
.
Println
(
igt
)
fmt
.
Println
(
igt
)
infoList
:=
make
(
map
[
string
]
interface
{},
0
)
infoList
:=
make
(
map
[
string
]
interface
{},
0
)
infoList
[
"i
cesimbaRuoLianWangGameUserGameTopRankI
nfoList"
]
=
igt
infoList
[
"infoList"
]
=
igt
msg
:=
new
(
Msg
)
msg
:=
new
(
Msg
)
if
igt
==
nil
{
if
igt
==
nil
{
err
:=
errors
.
New
(
"gametop name or game name not exist"
)
err
:=
errors
.
New
(
"gametop name or game name not exist"
)
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment