自动退单

This commit is contained in:
邹宗楠
2023-03-01 16:04:37 +08:00
parent 6081ec223b
commit 70521e362c
4 changed files with 80 additions and 33 deletions

View File

@@ -205,6 +205,11 @@ func Init() {
delivery.UpdateFakeWayBillToTiktok()
}, 10*time.Second, 5*time.Second)
// 抖音自动刷单
ScheduleTimerFuncByInterval(func() {
delivery.AutoSettingFakeDelivery()
}, 10*time.Second, 5*time.Second)
// 定时任务更新负责人信息
ScheduleTimerFunc("RefreshStoreOperator", func() {
cms.UpdateStoreOperatorConfig()