定时商品可售时间

This commit is contained in:
苏尹岚
2019-11-18 15:11:45 +08:00
parent 2a3a65ff44
commit ba6439b752
2 changed files with 7 additions and 1 deletions

View File

@@ -136,7 +136,7 @@ func Init() {
}
if beego.BConfig.RunMode == "alpha" {
ScheduleTimerFunc("ChangeStoreSkuSaleStatus", func() {
cms.CurVendorSync.ChangeStoreSkuSaleStatus(jxcontext.AdminCtx, 0, true, false)
cms.CurVendorSync.ChangeStoreSkuSaleStatus(jxcontext.AdminCtx, 0, true, true)
}, ChangeStoreSkuSaleStatusList)
}
}