抽奖内定期数问题
This commit is contained in:
parent
342d2fde1f
commit
258fd69a9e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue