1
This commit is contained in:
@@ -344,6 +344,7 @@ func Init() {
|
|||||||
// 每五分钟轮询一次推送骑手信息坐标给美团
|
// 每五分钟轮询一次推送骑手信息坐标给美团
|
||||||
ScheduleTimerFuncByInterval(func() {
|
ScheduleTimerFuncByInterval(func() {
|
||||||
delivery.GetOrderRiderInfoToPlatform("")
|
delivery.GetOrderRiderInfoToPlatform("")
|
||||||
|
globals.SugarLogger.Debug("五分钟跑一次", time.Now())
|
||||||
}, 10*time.Second, 5*time.Minute)
|
}, 10*time.Second, 5*time.Minute)
|
||||||
|
|
||||||
// 轮询每天更新当前时间一个月
|
// 轮询每天更新当前时间一个月
|
||||||
|
|||||||
Reference in New Issue
Block a user