Commit 20d56b2e by xuzhenhao

增加了redis工具库中的方法

1 parent 0d712eee
Showing with 1 additions and 0 deletions
...@@ -398,6 +398,7 @@ func IceGameTopRedisGetSingleUserRangeRankInfo(uid string, gtid string, gid stri ...@@ -398,6 +398,7 @@ func IceGameTopRedisGetSingleUserRangeRankInfo(uid string, gtid string, gid stri
err = errors.New("用户未提交分数") err = errors.New("用户未提交分数")
return nil, "105201", err return nil, "105201", err
} }
log.Println(score)
scoreString := "(" + score.(string) scoreString := "(" + score.(string)
// 获取当前用户前x位和后x位的排名数据 // 获取当前用户前x位和后x位的排名数据
var prerankIndex int var prerankIndex int
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!