Skip to content

Commit 120f0f3

Browse files
authored
Merge pull request #450 from Leif160519/dev
[fix:#443]:企业微信应用的默认模板缺少{{字符导致变量generatorURL无法获取到值
2 parents 810d3ee + 1225107 commit 120f0f3

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

controllers/prometheusalert.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ func (c *PrometheusAlertController) PrometheusAlert() {
126126
pMsg.Ddurl = checkURL(agMap["ddurl"], c.Input().Get("ddurl"), beego.AppConfig.String("ddurl"))
127127
pMsg.Wxurl = checkURL(agMap["wxurl"], c.Input().Get("wxurl"), beego.AppConfig.String("wxurl"))
128128
pMsg.Fsurl = checkURL(agMap["fsurl"], c.Input().Get("fsurl"), beego.AppConfig.String("fsurl"))
129-
pMsg.Email = checkURL(agMap["email"], c.Input().Get("email"), beego.AppConfig.String("fsurl"))
129+
pMsg.Email = checkURL(agMap["email"], c.Input().Get("email"), beego.AppConfig.String("email"))
130130
pMsg.GroupId = checkURL(agMap["groupid"], c.Input().Get("groupid"), beego.AppConfig.String("BDRL_ID"))
131131

132132
pMsg.Phone = checkURL(agMap["phone"], c.Input().Get("phone"))

db/PrometheusAlertDB.db

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)