useMinute

This commit is contained in:
jiangyong27 2024-05-15 10:46:55 +08:00
parent 96f744f781
commit 52cce4d574
1 changed files with 3 additions and 0 deletions

View File

@ -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