From bd1000ceaf72c5677801c8647c08097c0934b081 Mon Sep 17 00:00:00 2001 From: 陆恒 Date: Mon, 15 Jun 2020 16:09:38 +0800 Subject: [PATCH] 提交 --- src/HttpServer/logic/logic.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/HttpServer/logic/logic.go b/src/HttpServer/logic/logic.go index 9b62112..fad7b89 100644 --- a/src/HttpServer/logic/logic.go +++ b/src/HttpServer/logic/logic.go @@ -854,7 +854,7 @@ func HandlerLimitCatList(w http.ResponseWriter, data string, uuid int) { logger.Info("HandlerLimitCatList poslist=%+v", poslist) nowtime := int(time.Now().Unix()) for _, pos := range poslist { - if pos > 0 && pos < len(uinfo.PosInfo) { + if pos >= 0 && pos < len(uinfo.PosInfo) { //如果可领取了再加入列表 if nowtime > uinfo.PosInfo[pos].StartTime+uinfo.PosInfo[pos].Time { var tmp LimitCatListData -- libgit2 0.21.0