alpha测试定时商品可售时间
This commit is contained in:
@@ -133,6 +133,8 @@ func Init() {
|
|||||||
}, []string{
|
}, []string{
|
||||||
"04:05:06",
|
"04:05:06",
|
||||||
})
|
})
|
||||||
|
}
|
||||||
|
if beego.BConfig.RunMode == "alpha" {
|
||||||
ScheduleTimerFunc("ChangeStoreSkuSaleStatus", func() {
|
ScheduleTimerFunc("ChangeStoreSkuSaleStatus", func() {
|
||||||
cms.CurVendorSync.ChangeStoreSkuSaleStatus(jxcontext.AdminCtx, 0, true, false)
|
cms.CurVendorSync.ChangeStoreSkuSaleStatus(jxcontext.AdminCtx, 0, true, false)
|
||||||
}, ChangeStoreSkuSaleStatusList)
|
}, ChangeStoreSkuSaleStatusList)
|
||||||
|
|||||||
Reference in New Issue
Block a user