Commit 7b4931a2 by xuzhenhao

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

1 parent 7247b1d2
Showing with 1 additions and 1 deletions
...@@ -176,7 +176,7 @@ func SingleRangeRank(c *gin.Context) { ...@@ -176,7 +176,7 @@ func SingleRangeRank(c *gin.Context) {
igt := sdkredis.IceGameTopRedisGetSingleUserRangeRankInfo(uid, gtid, gid, toptype, prerank, nextrank) igt := sdkredis.IceGameTopRedisGetSingleUserRangeRankInfo(uid, gtid, gid, toptype, prerank, nextrank)
fmt.Println(igt) fmt.Println(igt)
infoList := make(map[string]interface{}, 0) infoList := make(map[string]interface{}, 0)
infoList["icesimbaRuoLianWangGameUserGameTopRankInfoList"] = igt infoList["infoList"] = igt
msg := new(Msg) msg := new(Msg)
if igt == nil { if igt == nil {
err := errors.New("gametop name or game name not exist") err := errors.New("gametop name or game name not exist")
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!