This commit is contained in:
邹宗楠
2023-10-19 15:30:11 +08:00
parent 5970672ee0
commit 6d0626b182

View File

@@ -2,7 +2,6 @@ package misc
import ( import (
"fmt" "fmt"
"git.rosy.net.cn/jx-callback/business/jxcallback/auto_delivery"
"sync" "sync"
"time" "time"
@@ -217,10 +216,10 @@ func Init() {
}, 10*time.Second, 5*time.Minute) }, 10*time.Second, 5*time.Minute)
// (自动发单拣货,设置骑手) 刷单用 // (自动发单拣货,设置骑手) 刷单用
ScheduleTimerFuncByInterval(func() { //ScheduleTimerFuncByInterval(func() {
auto_delivery.Init() // 初始化骑手列表 // auto_delivery.Init() // 初始化骑手列表
auto_delivery.AutoSettingFakeDelivery() // auto_delivery.AutoSettingFakeDelivery()
}, 10*time.Second, 5*time.Minute) //}, 10*time.Second, 5*time.Minute)
// 定时任务更新负责人信息 // 定时任务更新负责人信息
ScheduleTimerFunc("RefreshStoreOperator", func() { ScheduleTimerFunc("RefreshStoreOperator", func() {