Commit 8a0bd33e41aa91fc84cc8a8973e623842c752630

Authored by 陆恒
1 parent 12f91594
Exists in master

提交测试

Showing 1 changed file with 3 additions and 5 deletions   Show diff stats
src/HttpServer/logic/httpserver.go
... ... @@ -68,11 +68,9 @@ func startServerHttpServe() {
68 68  
69 69 func ClearData(w http.ResponseWriter, r *http.Request) {
70 70  
71   - result, _ := ioutil.ReadAll(r.Body)
72   - r.Body.Close()
73   -
74   - s := string(result)
75   - logger.Info("ClearData , body:%v", s)
  71 + query := r.URL.Query()
  72 + uuid := query.Get("uuid")
  73 + logger.Info("ClearData , uuid:%v", uuid)
76 74  
77 75 //HandleRegeister(w,s)
78 76 }
... ...