官方房间标记
This commit is contained in:
parent
d5fcc0acfd
commit
fc16304b20
|
@ -622,7 +622,7 @@ func (l *LotteryMgr) GetList(plt string) []*welfare.LotteryInfo {
|
||||||
|
|
||||||
state := 1
|
state := 1
|
||||||
switch {
|
switch {
|
||||||
case d.EndTs < now.Unix():
|
case d.EndTs <= now.Unix():
|
||||||
state = common.LotteryStateOver // 已结束
|
state = common.LotteryStateOver // 已结束
|
||||||
case d.StartTs > now.Unix():
|
case d.StartTs > now.Unix():
|
||||||
state = common.LotteryStateNoStart // 未开始
|
state = common.LotteryStateNoStart // 未开始
|
||||||
|
|
Loading…
Reference in New Issue