This commit is contained in:
邹宗楠
2023-10-08 15:04:11 +08:00
parent f12cca6b94
commit 419895fab1

View File

@@ -64,25 +64,25 @@ var (
"04:00:00",
}
refreshPageActTimeList = []string{
"7:00:00",
"8:00:00",
"9:00:00",
"10:00:00",
"11:00:00",
"12:00:00",
"13:00:00",
"14:00:00",
"15:00:00",
"16:00:00",
"17:00:00",
"18:00:00",
"19:00:00",
"22:00:00",
"05:00:00",
//"08:00:00",
//"09:00:00",
//"10:00:00",
//"11:00:00",
//"12:00:00",
//"13:00:00",
//"14:00:00",
//"15:00:00",
//"16:00:00",
//"17:00:00",
//"18:00:00",
//"19:00:00",
//"22:00:00", 检查七牛云流量使用情况
}
ChangeStoreSkuSaleStatusList = []string{
"7:00:00",
"8:00:00",
"9:00:00",
"7:20:00",
"8:20:00",
"9:20:00", // 检查七牛云流量使用情况 7:00,8:00,9:00
//"10:00:00",
//"11:00:00",
//"12:00:00",
@@ -328,6 +328,7 @@ func Init() {
ScheduleTimerFunc("RefreshPageActs", func() {
act.RefreshPageActs(jxcontext.AdminCtx, []int{model.VendorIDEBAI}, time.Now().Add(-30*24*time.Hour), false)
}, refreshPageActTimeList)
ScheduleTimerFunc("UpdateActStatusByTime", func() {
dao.UpdateActStatusByTime(dao.GetDB(), time.Now())
}, updateActStatusTimeList)