From 3babc6c50ad8a2724731af6d95e15a5af82e918f Mon Sep 17 00:00:00 2001 From: Ulric Qin Date: Wed, 15 Dec 2021 19:22:18 +0800 Subject: [PATCH] fix tple --- etc/template/dingtalk.tpl | 2 +- etc/template/feishu.tpl | 2 +- etc/template/mailbody.tpl | 2 +- etc/template/wecom.tpl | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/etc/template/dingtalk.tpl b/etc/template/dingtalk.tpl index 094c6247..52e26193 100644 --- a/etc/template/dingtalk.tpl +++ b/etc/template/dingtalk.tpl @@ -4,4 +4,4 @@ 监控指标: {{.TagsJSON}} {{if .IsRecovered}}恢复时间:{{timeformat .LastEvalTime}}{{else}}触发时间: {{timeformat .TriggerTime}} 触发时值: {{.TriggerValue}}{{end}} -发送时间: {{.timestamp}} \ No newline at end of file +发送时间: {{timestamp}} \ No newline at end of file diff --git a/etc/template/feishu.tpl b/etc/template/feishu.tpl index 094c6247..52e26193 100644 --- a/etc/template/feishu.tpl +++ b/etc/template/feishu.tpl @@ -4,4 +4,4 @@ 监控指标: {{.TagsJSON}} {{if .IsRecovered}}恢复时间:{{timeformat .LastEvalTime}}{{else}}触发时间: {{timeformat .TriggerTime}} 触发时值: {{.TriggerValue}}{{end}} -发送时间: {{.timestamp}} \ No newline at end of file +发送时间: {{timestamp}} \ No newline at end of file diff --git a/etc/template/mailbody.tpl b/etc/template/mailbody.tpl index 2763d143..3f55059d 100644 --- a/etc/template/mailbody.tpl +++ b/etc/template/mailbody.tpl @@ -184,7 +184,7 @@ 发送时间: - {{.timestamp}} + {{timestamp}} diff --git a/etc/template/wecom.tpl b/etc/template/wecom.tpl index c3374b54..5a16cd61 100644 --- a/etc/template/wecom.tpl +++ b/etc/template/wecom.tpl @@ -4,4 +4,4 @@ **监控指标**: {{.TagsJSON}} {{if .IsRecovered}}**恢复时间**:{{timeformat .LastEvalTime}}{{else}}**触发时间**: {{timeformat .TriggerTime}} **触发时值**: {{.TriggerValue}}{{end}} -**发送时间**: {{.timestamp}} \ No newline at end of file +**发送时间**: {{timestamp}} \ No newline at end of file