time format

This commit is contained in:
jiangyong27 2024-04-29 17:47:00 +08:00
parent 429e81f520
commit fbe90567d5
1 changed files with 2 additions and 2 deletions

View File

@ -96,9 +96,9 @@ func getInfo(devId string) ([]string, error) {
continue
}
//订单完成提示
log.Errorf("shopName=%s workstation=%s time=[%s-%s], money=%s",
log.Errorf("shopName=%s workstation=%s time=[%s],cost=%d,money=%s",
m2.ShopName, m2.Workstation, goutil.TimeToDateTime(m2.StartTime),
goutil.TimeToDateTime(m2.EndTime), goutil.FormatMoney(m2.Amount))
(m2.EndTime-m2.StartTime)/60, goutil.FormatMoney(m2.Amount))
}
}