Commit 98343b00 by xuzhenhao

增加了redis工具库中的方法

1 parent 7b786808
Showing with 1 additions and 1 deletions
...@@ -541,7 +541,7 @@ func IceGameTopRedisGetSingleUserRangeRankInfo(uid string, gtid string, gid stri ...@@ -541,7 +541,7 @@ func IceGameTopRedisGetSingleUserRangeRankInfo(uid string, gtid string, gid stri
if err != nil { if err != nil {
return nil, rank.(string), err return nil, rank.(string), err
} }
count, err := RedisZCount(conn, "sortset:gtid:"+gtid+":gid:"+gid+":toptype:"+toptype, "-inf", "+inf") count, err := RedisZCount(redisConn, "sortset:gtid:"+gtid+":gid:"+gid+":toptype:"+toptype, "-inf", "+inf")
if err != nil { if err != nil {
return nil, count.(string), err return nil, count.(string), err
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!