修改刷新活动结束状态逻辑

This commit is contained in:
gazebo
2019-12-17 18:24:56 +08:00
parent 0cc04cc9d2
commit 169efcaa92
2 changed files with 2 additions and 2 deletions

View File

@@ -132,7 +132,7 @@ func Init() {
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().Add(-48*time.Hour))
dao.UpdateActStatusByTime(dao.GetDB(), time.Now())
}, updateActStatusTimeList)
ScheduleScoreStore()
ScheduleCheckStoreAlert()