timeSliceQuery

This commit is contained in:
ziming 2025-06-13 09:26:04 +08:00
parent dc152617f3
commit 6329e6b37f
1 changed files with 2 additions and 0 deletions

View File

@ -83,6 +83,8 @@ func (v *VoucherBiz) Notice(ctx context.Context) error {
func (v *VoucherBiz) timeSliceQuery(ctx context.Context, startTime, endTime time.Time) error {
log.Warnf("订单定时通知,开始处理,按每两个小时分片处理,范围:%s到%s", startTime.Format(time.DateTime), endTime.Format(time.DateTime))
duration := 2 * time.Hour
eg := new(errgroup.Group)