diff --git a/business/jxstore/misc/misc.go b/business/jxstore/misc/misc.go index 0ac2f64c3..33b53aa23 100644 --- a/business/jxstore/misc/misc.go +++ b/business/jxstore/misc/misc.go @@ -252,11 +252,11 @@ func Init() { }, 60*time.Second, 30*time.Minute) // 抖音更新门店商品 - //if beego.BConfig.RunMode != "jxgy" { - // ScheduleTimerFuncByInterval(func() { - // syncStoreSkuTiktok() - // }, 60*time.Second, 10*time.Minute) - //} + if beego.BConfig.RunMode != "jxgy" { + ScheduleTimerFuncByInterval(func() { + syncStoreSkuTiktok() + }, 60*time.Second, 30*time.Minute) + } // 定时任务刷新当前订单的物流信息 ScheduleTimerFunc("RefreshMaterialLogistics", func() {