diff --git a/src/HttpServer/logic/httpserver.go b/src/HttpServer/logic/httpserver.go index 288a2d0..306e913 100644 --- a/src/HttpServer/logic/httpserver.go +++ b/src/HttpServer/logic/httpserver.go @@ -799,6 +799,9 @@ func UserLogin(w http.ResponseWriter, r *http.Request) { r.Body.Close() s := string(result) + if s == "" { + return + } logger.Info("UserLogin , body:%v,uuid=%v token=%v", s, Uuid, Token) HandlerLogin(w, s, Uuid, Token) -- libgit2 0.21.0