alpha测试定时商品可售时间
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user