Browse Source

修改邮件内容

rdluck 4 years ago
parent
commit
36448075af
1 changed files with 1 additions and 0 deletions
  1. 1 0
      controllers/base_auth.go

+ 1 - 0
controllers/base_auth.go

@@ -107,6 +107,7 @@ func (c *BaseAuthController) ServeJSON(encoding ...bool) {
 		msgBody := "URI:" + c.Ctx.Input.URI() + "<br/> ErrMsg:" + baseRes.ErrMsg + ";<br/>Msg:" + baseRes.Msg + ";<br/> Body:" + string(body) + ";<br/>" + c.Token
 		go utils.SendEmail(utils.APPNAME+" "+utils.RunMode+" 失败提醒", msgBody, utils.EmailSendToUsers)
 	}
+	
 	c.JSON(c.Data["json"], hasIndent, hasEncoding)
 }