Commit 5f557823 by xuzhenhao

增加了返回个人排行信息的时候可以看到前后玩家信息的功能

1 parent a068eb5a
Showing with 1 additions and 1 deletions
...@@ -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
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!