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 // 未开始