From 175da11cc77530f984cb1fa23c84063cb996a362 Mon Sep 17 00:00:00 2001 From: 陆恒 Date: Wed, 10 Jun 2020 15:50:21 +0800 Subject: [PATCH] 提亀 --- src/HttpServer/logic/httpserver.go | 3 +++ 1 file changed, 3 insertions(+), 0 deletions(-) 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