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 5f557823
authored
Dec 09, 2017
by
xuzhenhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加了返回个人排行信息的时候可以看到前后玩家信息的功能
1 parent
a068eb5a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
sdkredis/ice_gametopREDIS.go
sdkredis/ice_gametopREDIS.go
View file @
5f55782
...
@@ -290,7 +290,7 @@ func IceGameTopRedisGetSingleUserRankInfo(uid string, gtid string, gid string, t
...
@@ -290,7 +290,7 @@ func IceGameTopRedisGetSingleUserRankInfo(uid string, gtid string, gid string, t
return
return
}
}
// 获取当前用户排名
// 获取当前用户排名
rank
,
err
:=
RedisZRank
(
redisConn
,
"sortset:gtid:"
+
gtid
+
":gid:"
+
gid
+
":toptype:"
+
toptype
,
member
)
rank
,
err
:=
RedisZRank
(
redisConn
,
"sortset:gtid:"
+
gtid
+
":gid:"
+
gid
+
":toptype:"
+
toptype
,
"ice_gametop:uid:"
+
uid
+
":gtid:"
+
gtid
+
":gid:"
+
gid
+
":toptype:0:mykey"
)
if
err
!=
nil
{
if
err
!=
nil
{
log
.
Println
(
"RedisZRANK err[%v]"
,
err
)
log
.
Println
(
"RedisZRANK err[%v]"
,
err
)
return
return
...
...
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