diff --git a/src/HttpServer/logic/httpserver.go b/src/HttpServer/logic/httpserver.go index 5dbd3bb..1577ce8 100644 --- a/src/HttpServer/logic/httpserver.go +++ b/src/HttpServer/logic/httpserver.go @@ -68,11 +68,9 @@ func startServerHttpServe() { func ClearData(w http.ResponseWriter, r *http.Request) { - result, _ := ioutil.ReadAll(r.Body) - r.Body.Close() - - s := string(result) - logger.Info("ClearData , body:%v", s) + query := r.URL.Query() + uuid := query.Get("uuid") + logger.Info("ClearData , uuid:%v", uuid) //HandleRegeister(w,s) } -- libgit2 0.21.0