Skip to content

Commit

Permalink
修复赋值错误
Browse files Browse the repository at this point in the history
  • Loading branch information
Leif160519 committed Oct 17, 2024
1 parent c7ba6c6 commit 1225107
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/prometheusalert.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ func (c *PrometheusAlertController) PrometheusAlert() {
pMsg.Ddurl = checkURL(agMap["ddurl"], c.Input().Get("ddurl"), beego.AppConfig.String("ddurl"))
pMsg.Wxurl = checkURL(agMap["wxurl"], c.Input().Get("wxurl"), beego.AppConfig.String("wxurl"))
pMsg.Fsurl = checkURL(agMap["fsurl"], c.Input().Get("fsurl"), beego.AppConfig.String("fsurl"))
pMsg.Email = checkURL(agMap["email"], c.Input().Get("email"), beego.AppConfig.String("fsurl"))
pMsg.Email = checkURL(agMap["email"], c.Input().Get("email"), beego.AppConfig.String("email"))
pMsg.GroupId = checkURL(agMap["groupid"], c.Input().Get("groupid"), beego.AppConfig.String("BDRL_ID"))

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

0 comments on commit 1225107

Please sign in to comment.