Commit 56f9c46d by xuzhenhao

修复了返回排行榜时用户索引的问题

1 parent 9ba83a1e
Showing with 1 additions and 1 deletions
......@@ -464,7 +464,7 @@ func IceGameTopRedisGetSingleUserRangeRankInfo(uid string, gtid string, gid stri
}
if prerankIndex+index-1 == rankIndex {
log.Println("set resIndex")
resIndex = prerankIndex + index
resIndex = index
}
igt[s].UID = currUID
igt[s].RankIndex = prerankIndex + index
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!