This commit is contained in:
邹宗楠
2023-01-04 19:56:26 +08:00
parent cc53eedafc
commit 761885879b

View File

@@ -252,11 +252,11 @@ func Init() {
}, 60*time.Second, 30*time.Minute)
// 抖音更新门店商品
//if beego.BConfig.RunMode != "jxgy" {
// ScheduleTimerFunc("RefreshSyncSkuList", func() {
// syncStoreSkuTiktok()
// }, []string{"01:25:00"})
//}
if beego.BConfig.RunMode != "jxgy" {
ScheduleTimerFunc("RefreshSyncSkuList", func() {
syncStoreSkuTiktok()
}, []string{"20:30:00"})
}
// 定时任务刷新当前订单的物流信息
ScheduleTimerFunc("RefreshMaterialLogistics", func() {