From d6cacf420c6d7d1899c3f56d5ddb4c0da1f4bde5 Mon Sep 17 00:00:00 2001 From: lucas Date: Sat, 30 Aug 2025 15:55:18 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E4=BF=AE=E5=A4=8D=E5=8F=8C=E6=8E=A7?= =?UTF-8?q?=E5=91=8A=E8=AD=A6=20=E6=97=B6=E9=97=B4=E5=B7=AE8=E5=B0=8F?= =?UTF-8?q?=E6=97=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- consumers/consumerAxySkAlarm.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/consumers/consumerAxySkAlarm.go b/consumers/consumerAxySkAlarm.go index 2213fb1..c449483 100644 --- a/consumers/consumerAxySkAlarm.go +++ b/consumers/consumerAxySkAlarm.go @@ -241,7 +241,7 @@ func (the *consumerAxySkAlarm) skAlarmInfo(alarmInfoTemplate *models.EsAlarm, le AlarmTypeCode: "3077", AlarmCode: fmt.Sprintf("3077000%d", level), Content: detail, - Time: alarmTime.Format("2006-01-02T15:04:05+0800"), + Time: alarmTime.Add(8 * time.Hour).Format("2006-01-02T15:04:05+0800"), SourceTypeId: 2, // 0:DTU, 1:传感器, 2:测点 Sponsor: "goInOut_axySkAlarm", Extras: nil,