From 995a9e010abad552b57f97a7e5275452b3287235 Mon Sep 17 00:00:00 2001 From: sk <123456@qq.com> Date: Wed, 30 Oct 2024 11:38:05 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=98=E6=96=B9=E6=88=BF=E9=97=B4=E6=A0=87?= =?UTF-8?q?=E8=AE=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- worldsrv/lotterymgr.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worldsrv/lotterymgr.go b/worldsrv/lotterymgr.go index 5e77bbe..a05e14f 100644 --- a/worldsrv/lotterymgr.go +++ b/worldsrv/lotterymgr.go @@ -622,7 +622,7 @@ func (l *LotteryMgr) GetList(plt string) []*welfare.LotteryInfo { state := 1 switch { - case d.EndTs <= now.Unix(): + case d.WinTs <= now.Unix(): state = common.LotteryStateOver // 已结束 case d.StartTs > now.Unix(): state = common.LotteryStateNoStart // 未开始