This commit is contained in:
邹宗楠
2023-12-27 15:14:37 +08:00
parent fd9c9983e8
commit e2f2d522f6
6 changed files with 30 additions and 31 deletions

View File

@@ -214,9 +214,9 @@ func Init() {
// 每分钟轮询一次,推送骑手信息(假的订单)
ScheduleTimerFuncByInterval(func() {
delivery.UpdateFakeWayBillToTiktok()
}, 10*time.Second, 1*time.Minute)
}, 10*time.Second, 2*time.Minute)
// 每五分钟轮询一次推送骑手信息坐标给美团/抖音 (真的订单)[抖音建议小于六十秒]
// 每五分钟轮询一次推送骑手信息坐标给美团/抖音
ScheduleTimerFuncByInterval(func() {
delivery.GetOrderRiderInfoToPlatform("", 0)
}, 10*time.Second, 4*time.Minute)