This commit is contained in:
eson 2023-08-29 16:35:02 +08:00
parent b67a96f1ae
commit 1ddbc4867a

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, []byte(successHtml))
w.Write([]byte(successHtml))
httpx.Ok(w)
} else {
httpx.OkJsonCtx(r.Context(), w, resp)
}