fix
This commit is contained in:
parent
b67a96f1ae
commit
1ddbc4867a
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user