Commit bd1000ceaf72c5677801c8647c08097c0934b081
1 parent
fb9c4071
Exists in
master
提交
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/HttpServer/logic/logic.go
| ... | ... | @@ -854,7 +854,7 @@ func HandlerLimitCatList(w http.ResponseWriter, data string, uuid int) { |
| 854 | 854 | logger.Info("HandlerLimitCatList poslist=%+v", poslist) |
| 855 | 855 | nowtime := int(time.Now().Unix()) |
| 856 | 856 | for _, pos := range poslist { |
| 857 | - if pos > 0 && pos < len(uinfo.PosInfo) { | |
| 857 | + if pos >= 0 && pos < len(uinfo.PosInfo) { | |
| 858 | 858 | //如果可领取了再加入列表 |
| 859 | 859 | if nowtime > uinfo.PosInfo[pos].StartTime+uinfo.PosInfo[pos].Time { |
| 860 | 860 | var tmp LimitCatListData | ... | ... |