Commit 85a8722a by xuzhenhao

增加了redis工具库中的方法

1 parent d843624c
Showing with 0 additions and 2 deletions
...@@ -426,9 +426,7 @@ func IceGameTopRedisGetSingleUserRangeRankInfo(uid string, gtid string, gid stri ...@@ -426,9 +426,7 @@ func IceGameTopRedisGetSingleUserRangeRankInfo(uid string, gtid string, gid stri
resIndex = rankIndex + 1 resIndex = rankIndex + 1
} else { } else {
resIndex = prerankIndex + 1 resIndex = prerankIndex + 1
prerankIndex = rankIndex - prerankIndex
} }
nextrankIndex = rankIndex + nextrankIndex
log.Println("nextrankIndex:", nextrankIndex, "prerankIndex:", prerankIndex, "sorceorder:", sorceorder) log.Println("nextrankIndex:", nextrankIndex, "prerankIndex:", prerankIndex, "sorceorder:", sorceorder)
// 排序 // 排序
var strList, strList1, strList2 []string var strList, strList1, strList2 []string
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!