Commit 6e83ce7a by xuzhenhao

增加了相应的错误返回

1 parent 57019115
Showing with 2 additions and 0 deletions
...@@ -175,6 +175,8 @@ func SingleRangeRank(c *gin.Context) { ...@@ -175,6 +175,8 @@ func SingleRangeRank(c *gin.Context) {
igt, resIndex, err := sdkredis.IceGameTopRedisGetSingleUserRangeRankInfo(uid, gtid, gid, toptype, prerank, nextrank) igt, resIndex, err := sdkredis.IceGameTopRedisGetSingleUserRangeRankInfo(uid, gtid, gid, toptype, prerank, nextrank)
fmt.Println(igt) fmt.Println(igt)
log.Println(resIndex)
log.Println(err)
infoList := make(map[string]interface{}, 0) infoList := make(map[string]interface{}, 0)
msg := new(Msg) msg := new(Msg)
if err != nil { if err != nil {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!