From dee3be1d2f5fb0b798654e08b920cc46a6685486 Mon Sep 17 00:00:00 2001 From: 陆恒 Date: Wed, 10 Jun 2020 15:53:31 +0800 Subject: [PATCH] 提亀 --- src/HttpServer/logic/httpserver.go | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) diff --git a/src/HttpServer/logic/httpserver.go b/src/HttpServer/logic/httpserver.go index a8b5750..a41140c 100644 --- a/src/HttpServer/logic/httpserver.go +++ b/src/HttpServer/logic/httpserver.go @@ -802,6 +802,8 @@ func UserLogin(w http.ResponseWriter, r *http.Request) { s := string(result) if s == "" { + logger.Error("UserLogin bodynil") + fmt.Fprint(w, "failed") return } logger.Info("UserLogin , body:%v,uuid=%v token=%v", s, Uuid, Token) -- libgit2 0.21.0