diff --git a/worker/nowcar/ddf.go b/worker/nowcar/ddf.go index 12d1278..1d1d40a 100644 --- a/worker/nowcar/ddf.go +++ b/worker/nowcar/ddf.go @@ -82,6 +82,9 @@ func (d *Ddf) getDetail(shopId int) { if m1 != nil { continue } + if useMinute > 100 || useMinute < 0 { + useMinute = 0 + } m1 = new(model.Ddf) m1.Day = time.Now().Format("2006-01-02") m1.ShopName = shopName