定时刷新商品可售状态
This commit is contained in:
@@ -47,13 +47,6 @@ var (
|
||||
"22:00:00",
|
||||
}
|
||||
ChangeStoreSkuSaleStatusList = []string{
|
||||
"0:00:00",
|
||||
"1:00:00",
|
||||
"2:00:00",
|
||||
"3:00:00",
|
||||
"4:00:00",
|
||||
"5:00:00",
|
||||
"6:00:00",
|
||||
"7:00:00",
|
||||
"8:00:00",
|
||||
"9:00:00",
|
||||
@@ -68,9 +61,6 @@ var (
|
||||
"18:00:00",
|
||||
"19:00:00",
|
||||
"20:00:00",
|
||||
"21:00:00",
|
||||
"22:00:00",
|
||||
"23:00:00",
|
||||
}
|
||||
openRemoteStoreTimeList = []string{
|
||||
"23:30:00",
|
||||
@@ -144,7 +134,7 @@ func Init() {
|
||||
"04:05:06",
|
||||
})
|
||||
ScheduleTimerFunc("ChangeStoreSkuSaleStatus", func() {
|
||||
cms.CurVendorSync.ChangeStoreSkuSaleStatus(jxcontext.AdminCtx, false, false)
|
||||
cms.CurVendorSync.ChangeStoreSkuSaleStatus(jxcontext.AdminCtx, true, false)
|
||||
}, ChangeStoreSkuSaleStatusList)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user