From 037152ad7206c926a327713283aceff1d4327ecf Mon Sep 17 00:00:00 2001 From: 710leo <710leo@gmail.com> Date: Tue, 3 Sep 2024 18:17:28 +0800 Subject: [PATCH] refactor: update alert-cur-event api --- center/router/router_alert_cur_event.go | 1 + 1 file changed, 1 insertion(+) diff --git a/center/router/router_alert_cur_event.go b/center/router/router_alert_cur_event.go index f0b60dea8..7605a1192 100644 --- a/center/router/router_alert_cur_event.go +++ b/center/router/router_alert_cur_event.go @@ -227,6 +227,7 @@ func (rt *Router) alertCurEventGet(c *gin.Context) { event.RuleConfigJson = ruleConfig } + event.LastEvalTime = event.TriggerTime ginx.NewRender(c).Data(event, nil) }