mirror of https://github.com/bjdgyc/anylink.git
添加邮件发送错误信息
This commit is contained in:
parent
3ebb669558
commit
73d1edd62f
admin
|
@ -100,7 +100,11 @@ func UserSet(w http.ResponseWriter, r *http.Request) {
|
|||
|
||||
// 发送邮件
|
||||
if data.SendEmail {
|
||||
userAccountMail(data)
|
||||
err = userAccountMail(data)
|
||||
if err != nil {
|
||||
RespError(w, RespInternalErr, err)
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
RespSucess(w, nil)
|
||||
|
|
Loading…
Reference in New Issue