mirror of http://gitlab.batiao8.com/yic/film.git
useMinute
This commit is contained in:
parent
96f744f781
commit
52cce4d574
|
@ -82,6 +82,9 @@ func (d *Ddf) getDetail(shopId int) {
|
||||||
if m1 != nil {
|
if m1 != nil {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
if useMinute > 100 || useMinute < 0 {
|
||||||
|
useMinute = 0
|
||||||
|
}
|
||||||
m1 = new(model.Ddf)
|
m1 = new(model.Ddf)
|
||||||
m1.Day = time.Now().Format("2006-01-02")
|
m1.Day = time.Now().Format("2006-01-02")
|
||||||
m1.ShopName = shopName
|
m1.ShopName = shopName
|
||||||
|
|
Loading…
Reference in New Issue