From 258fd69a9e13b468b23e74c5a9103494c95a0f7c Mon Sep 17 00:00:00 2001 From: sk <123456@qq.com> Date: Sat, 26 Oct 2024 17:22:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=BD=E5=A5=96=E5=86=85=E5=AE=9A=E6=9C=9F?= =?UTF-8?q?=E6=95=B0=E9=97=AE=E9=A2=98?= 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 a0ff340..3b1609c 100644 --- a/worldsrv/lotterymgr.go +++ b/worldsrv/lotterymgr.go @@ -255,7 +255,7 @@ func (l *LotteryData) Done() { continue } t, _ := time.Parse(time.DateTime, v.GetTime()) - if common.TsInSameDay(t.Unix(), l.StartTs) && v.GetNum() == int64(l.Num+1) { + if common.TsInSameDay(t.Unix(), l.StartTs) && int(v.GetNum()) == LotteryMgrInst.GetIndex(l.Platform, l.CId) { // 必中 isMust = true tp = 1