diff --git a/business/jxstore/misc/misc.go b/business/jxstore/misc/misc.go index d5ecebe95..5541807eb 100644 --- a/business/jxstore/misc/misc.go +++ b/business/jxstore/misc/misc.go @@ -122,6 +122,9 @@ func Init() { }, updateActStatusTimeList) ScheduleScoreStore() ScheduleCheckStoreAlert() + ScheduleTimerFunc("ChangeStoreSkuSaleStatus", func() { + cms.CurVendorSync.ChangeStoreSkuSaleStatus(jxcontext.AdminCtx, 0, true, true) + }, ChangeStoreSkuSaleStatusList) } ScheduleTimerFunc("AutoSaleStoreSku", func() { cms.AutoSaleStoreSku(jxcontext.AdminCtx, nil, false) @@ -134,11 +137,6 @@ func Init() { "04:05:06", }) } - if beego.BConfig.RunMode == "alpha" { - ScheduleTimerFunc("ChangeStoreSkuSaleStatus", func() { - cms.CurVendorSync.ChangeStoreSkuSaleStatus(jxcontext.AdminCtx, 0, true, true) - }, ChangeStoreSkuSaleStatusList) - } } func doDailyWork() {