This commit is contained in:
2023-09-13 21:09:34 +08:00
parent f2cdd41123
commit 76e74390db

View File

@@ -678,7 +678,7 @@ func ResponseForbidden403MultiLoginNotAllowed(w http.ResponseWriter) {
}
func ResponseNotFound404UriNotExist(w http.ResponseWriter, r *http.Request) {
log.Errorf("r.Method:%s, r.URL:%", r.Method, r.URL)
log.Errorf("r.Method:%s, r.URL:%s", r.Method, r.URL)
errorMessage := ErrorMessage{"1", "the requested URI does not exist"}
errorResponse := ErrorResponse{errorMessage}
ResponseWithJson(w, http.StatusNotFound, errorResponse)