d
This commit is contained in:
@@ -678,6 +678,7 @@ func ResponseForbidden403MultiLoginNotAllowed(w http.ResponseWriter) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func ResponseNotFound404UriNotExist(w http.ResponseWriter, r *http.Request) {
|
func ResponseNotFound404UriNotExist(w http.ResponseWriter, r *http.Request) {
|
||||||
|
log.Errorf("r.Method:%s, r.URL:%", r.Method, r.URL)
|
||||||
errorMessage := ErrorMessage{"1", "the requested URI does not exist"}
|
errorMessage := ErrorMessage{"1", "the requested URI does not exist"}
|
||||||
errorResponse := ErrorResponse{errorMessage}
|
errorResponse := ErrorResponse{errorMessage}
|
||||||
ResponseWithJson(w, http.StatusNotFound, errorResponse)
|
ResponseWithJson(w, http.StatusNotFound, errorResponse)
|
||||||
|
|||||||
Reference in New Issue
Block a user