From a2eb3b99f9e7a8960bb65365369445234746cc2c Mon Sep 17 00:00:00 2001 From: 陆恒 Date: Wed, 20 May 2020 17:06:02 +0800 Subject: [PATCH] 提交 --- src/HttpServer/logic/logic.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/HttpServer/logic/logic.go b/src/HttpServer/logic/logic.go index e5cdc67..c0043f5 100644 --- a/src/HttpServer/logic/logic.go +++ b/src/HttpServer/logic/logic.go @@ -465,13 +465,14 @@ func HandleNewGetData(w http.ResponseWriter, data string) { break } resp.Result.Data.Base_data = val - logger.Info("HandleNewGetData new is=%v",resp) + break } //回包 respstr, _ := json.Marshal(&resp) + logger.Info("HandleNewGetData new is=%v",string(respstr)) fmt.Fprint(w, string(respstr)) } -- libgit2 0.21.0