1
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user