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