alpha测试定时商品可售时间

This commit is contained in:
苏尹岚
2019-11-18 09:34:30 +08:00
parent 48fc1dece6
commit 839a344433

View File

@@ -133,6 +133,8 @@ func Init() {
}, []string{
"04:05:06",
})
}
if beego.BConfig.RunMode == "alpha" {
ScheduleTimerFunc("ChangeStoreSkuSaleStatus", func() {
cms.CurVendorSync.ChangeStoreSkuSaleStatus(jxcontext.AdminCtx, 0, true, false)
}, ChangeStoreSkuSaleStatusList)