Commit db1bb6e2 by xuzhenhao

修复了返回索引错误的问题

1 parent 68faae46
Showing with 1 additions and 0 deletions
...@@ -392,6 +392,7 @@ func IceGameTopRedisGetSingleUserRangeRankInfo(uid string, gtid string, gid stri ...@@ -392,6 +392,7 @@ func IceGameTopRedisGetSingleUserRangeRankInfo(uid string, gtid string, gid stri
err = errors.New("用户未提交分数") err = errors.New("用户未提交分数")
return nil, "105201", err return nil, "105201", err
} }
log.Println("key:", "ice_gametop:uid:"+uid+":gtid:"+gtid+":gid:"+gid+":toptype:"+toptype+":mykey")
log.Println("rank:", rank) log.Println("rank:", rank)
rankIndex := int(rank.(int64)) 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!