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