This commit is contained in:
eson 2023-08-29 16:31:54 +08:00
parent b118357d54
commit e24b9ceac9

View File

@ -161,8 +161,8 @@ func (l *UserEmailConfirmationLogic) AfterLogic(w http.ResponseWriter, r *http.R
<p>祝您使用愉快!</p>
</body>
</html>`
w.Write([]byte(successHtml))
httpx.OkJsonCtx(r.Context(), w, nil)
// w.Write([]byte(successHtml))
httpx.OkJsonCtx(r.Context(), w, successHtml)
} else {
httpx.OkJsonCtx(r.Context(), w, resp)
}