+ UpdateActStatusByTime
This commit is contained in:
@@ -41,6 +41,9 @@ var (
|
||||
openRemoteStoreTimeList = []string{
|
||||
"23:30:00",
|
||||
}
|
||||
updateActStatusTimeList = []string{
|
||||
"00:01:00",
|
||||
}
|
||||
)
|
||||
|
||||
func Init() {
|
||||
@@ -63,6 +66,10 @@ func Init() {
|
||||
ScheduleTimerFunc(func() {
|
||||
act.RefreshPageActs(jxcontext.AdminCtx, []int{model.VendorIDEBAI}, time.Now().Add(-30*24*time.Hour), false)
|
||||
}, refreshPageActTimeList)
|
||||
|
||||
ScheduleTimerFunc(func() {
|
||||
dao.UpdateActStatusByTime(dao.GetDB(), time.Now())
|
||||
}, updateActStatusTimeList)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user