Commit eaeb8632 by xuzhenhao

增加了redis工具库中的方法

1 parent 98343b00
Showing with 1 additions and 1 deletions
...@@ -545,7 +545,7 @@ func IceGameTopRedisGetSingleUserRangeRankInfo(uid string, gtid string, gid stri ...@@ -545,7 +545,7 @@ func IceGameTopRedisGetSingleUserRangeRankInfo(uid string, gtid string, gid stri
if err != nil { if err != nil {
return nil, count.(string), err return nil, count.(string), err
} }
igt[s].RankIndex = count.(int) - 1 - rank.(int) igt[s].RankIndex = int(count.(int64)) - 1 - rank.(int)
igt[s].MyKey = strList[i+1] igt[s].MyKey = strList[i+1]
//查询储存昵称以及头像url的redis //查询储存昵称以及头像url的redis
resultstr, err = RedisGetKV(redisConn, "GUID:"+igt[s].UID) resultstr, err = RedisGetKV(redisConn, "GUID:"+igt[s].UID)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!