修复了返回index存在0的问题,增加了返回列表中用户所在的位置
Showing
with
1 additions
and
1 deletions
-
Please register or sign in to post a comment
... | ... | @@ -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)) | ||
... | ... |