From 83103b44b6b34012cb2b7f8a4068f202fdbc11b9 Mon Sep 17 00:00:00 2001 From: 陆恒 Date: Wed, 10 Jun 2020 10:15:04 +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 4640444..7e5704c 100644 --- a/src/HttpServer/logic/httpserver.go +++ b/src/HttpServer/logic/httpserver.go @@ -761,7 +761,7 @@ func UserLogin(w http.ResponseWriter, r *http.Request) { Token = r.Header.Get("token") } - if Uuid == 0 { + /*if Uuid == 0 { SetHeader(w) /*var resp UserLoginResp resp.Code = -1 @@ -770,7 +770,7 @@ func UserLogin(w http.ResponseWriter, r *http.Request) { fmt.Fprint(w, string(respstr)) logger.Error("UserLogin uuid=0! failed!")*/ return - } + //} result, _ := ioutil.ReadAll(r.Body) r.Body.Close() -- libgit2 0.21.0