Commit 987ccdfa by xuzhenhao

增加了redis工具库中的方法

1 parent 15194e11
Showing with 2 additions and 0 deletions
......@@ -478,7 +478,9 @@ func IceGameTopRedisGetSingleUserRangeRankInfo(uid string, gtid string, gid stri
var tempList []string
log.Println(len(strList1))
for i := len(strList1) - 1; i < 0; i -= 2 {
log.Println(strList1[i-1])
tempList = append(tempList, strList1[i-1])
log.Println(strList1[i])
tempList = append(tempList, strList1[i])
}
strList1 = tempList
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!