Skip to content

Commit 1225107

Browse files
committed
修复赋值错误
1 parent c7ba6c6 commit 1225107

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
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"))

0 commit comments

Comments
 (0)