diff --git a/business/jxstore/misc/misc.go b/business/jxstore/misc/misc.go index 11aa66c3a..96b080697 100644 --- a/business/jxstore/misc/misc.go +++ b/business/jxstore/misc/misc.go @@ -165,7 +165,9 @@ func IsImportantTaskRunning(taskName string) bool { } func Init() { + globals.SugarLogger.Debugf("========================ScheduleTimerFuncByInterval=") if globals.IsProductEnv() { + globals.SugarLogger.Debugf("========================ScheduleTimerFuncByInterval=2222") //ScheduleTimerFunc("doDailyWork2", doDailyWork2, dailyWorkTimeList2) //京东的订单信息解密密钥获取 @@ -209,6 +211,7 @@ func Init() { // 每分钟轮询一次,推送骑手信息(假的订单) ScheduleTimerFuncByInterval(func() { + globals.SugarLogger.Debugf("定时任务推送UpdateFakeWayBillToTiktok := ") delivery.UpdateFakeWayBillToTiktok() }, 10*time.Second, 2*time.Minute) diff --git a/business/partner/delivery/rider.go b/business/partner/delivery/rider.go index a5cd2d410..e05507435 100644 --- a/business/partner/delivery/rider.go +++ b/business/partner/delivery/rider.go @@ -401,6 +401,7 @@ func UpdateFakeWayBillToTiktok() { //} fakeWayBill, err := dao.GetWayBillFakeOrder() + globals.SugarLogger.Debugf("定时任务推送UpdateFakeWayBillToTiktok := %d", len(fakeWayBill)) if err != nil { globals.SugarLogger.Debugf("Get Fake Order Err : %s", err.Error()) return