This commit is contained in:
2023-10-08 18:09:51 +08:00
parent 0a2ee6cb70
commit c22ed9cef9
3 changed files with 8 additions and 5 deletions

View File

@@ -142,7 +142,7 @@ func PostParamConfigToNF(w http.ResponseWriter, r *http.Request) {
return
}
services.ResponseWithJson(w, response.StatusCode(), response)
services.ResponseWithJson(w, http.StatusNoContent, response)
}
func PutParamConfigToNF(w http.ResponseWriter, r *http.Request) {
@@ -194,7 +194,7 @@ func PutParamConfigToNF(w http.ResponseWriter, r *http.Request) {
return
}
services.ResponseWithJson(w, response.StatusCode(), response)
services.ResponseWithJson(w, http.StatusNoContent, response)
}
func DeleteParamConfigToNF(w http.ResponseWriter, r *http.Request) {
@@ -238,5 +238,5 @@ func DeleteParamConfigToNF(w http.ResponseWriter, r *http.Request) {
return
}
services.ResponseWithJson(w, response.StatusCode(), response)
services.ResponseWithJson(w, http.StatusNoContent, response)
}