Commit 2d73ac23 by xuzhenhao

修复了返回index存在0的问题,增加了返回列表中用户所在的位置

1 parent 00801f79
Showing with 1 additions and 1 deletions
......@@ -386,7 +386,7 @@ func IceGameTopRedisGetSingleUserRangeRankInfo(uid string, gtid string, gid stri
return
}
if rank == nil {
return nil
return nil, 0
}
rankIndex := int(rank.(int64))
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!