This commit is contained in:
邹宗楠
2023-05-24 11:07:28 +08:00
parent 59ee9c9f0f
commit aeff69d120

View File

@@ -206,13 +206,13 @@ func Init() {
// 每分钟轮询一次,推送骑手信息
ScheduleTimerFuncByInterval(func() {
delivery.UpdateFakeWayBillToTiktok()
}, 10*time.Second, 3*time.Minute)
}, 10*time.Second, 5*time.Second)
// (自动发单拣货,设置骑手)
ScheduleTimerFuncByInterval(func() {
auto_delivery.Init() // 初始化骑手列表
auto_delivery.AutoSettingFakeDelivery()
}, 10*time.Second, 5*time.Minute)
}, 10*time.Second, 3*time.Minute)
// 定时任务更新负责人信息
ScheduleTimerFunc("RefreshStoreOperator", func() {