Commit 9ba83a1e by xuzhenhao

增加了相应的错误返回

1 parent 6e83ce7a
Showing with 4 additions and 2 deletions
......@@ -373,8 +373,10 @@ func IceGameTopRedisGetSingleUserRangeRankInfo(uid string, gtid string, gid stri
sorceorder = iceGameTopSet.SORCEORDER
toptype = iceGameTopSet.TOPTYPE //不需要对传入的toptype做判断,根据gid和gtid就可以获得排行
} else {
return
resIndex = "105200"
err = errors.New("get toptype err")
log.Println("iceGameTopSet is nil")
return nil, resIndex, err
}
} else {
resIndex = "105207"
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!