mirror of
https://github.com/bjdgyc/anylink.git
synced 2025-08-11 06:15:28 +08:00
添加邮件发送错误信息
This commit is contained in:
@@ -100,7 +100,11 @@ func UserSet(w http.ResponseWriter, r *http.Request) {
|
|||||||
|
|
||||||
// 发送邮件
|
// 发送邮件
|
||||||
if data.SendEmail {
|
if data.SendEmail {
|
||||||
userAccountMail(data)
|
err = userAccountMail(data)
|
||||||
|
if err != nil {
|
||||||
|
RespError(w, RespInternalErr, err)
|
||||||
|
return
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
RespSucess(w, nil)
|
RespSucess(w, nil)
|
||||||
|
Reference in New Issue
Block a user