From 8a0bd33e41aa91fc84cc8a8973e623842c752630 Mon Sep 17 00:00:00 2001 From: 陆恒 Date: Thu, 30 Apr 2020 10:02:34 +0800 Subject: [PATCH] 提交测试 --- src/HttpServer/logic/httpserver.go | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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