Commit 844029c1 by xuzhenhao

增加了返回个人排行信息的时候可以看到前后玩家信息的功能

1 parent 4d20985b
Showing with 3 additions and 1 deletions
......@@ -436,6 +436,8 @@ func IceGameTopRedisGetSingleUserRangeRankInfo(uid string, gtid string, gid stri
}
igt = make([]*IGT, len(strList)/2)
log.Println(igt)
log.Println(len(igt))
index := 1
var resultstr string
var valuecount = 2
......@@ -454,7 +456,7 @@ func IceGameTopRedisGetSingleUserRangeRankInfo(uid string, gtid string, gid stri
s = i / 2
}
igt[s].UID = uid
igt[s].RankIndex = index
igt[s].RankIndex = prerankIndex + index - 1
igt[s].MyKey = strList[i+1]
//查询储存昵称以及头像url的redis
var err error
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!