Commit 22da6d98 by xuzhenhao

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

1 parent a430344a
Showing with 2 additions and 1 deletions
......@@ -298,7 +298,8 @@ func IceGameTopRedisGetSingleUserRankInfo(uid string, gtid string, gid string, t
if rank == nil {
return nil
}
rankIndex := rank.(int)
rankIndex := int(rank.(int64))
// 获取当前用户前x位和后x位的排名数据
var prerankIndex int
var nextrankIndex int
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!