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>
|
<p>祝您使用愉快!</p>
|
||||||
</body>
|
</body>
|
||||||
</html>`
|
</html>`
|
||||||
// w.Write([]byte(successHtml))
|
w.Write([]byte(successHtml))
|
||||||
httpx.OkJsonCtx(r.Context(), w, []byte(successHtml))
|
httpx.Ok(w)
|
||||||
} else {
|
} else {
|
||||||
httpx.OkJsonCtx(r.Context(), w, resp)
|
httpx.OkJsonCtx(r.Context(), w, resp)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user