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