From 278ee73d9fa404f3f449694ea484480bbc16e0b0 Mon Sep 17 00:00:00 2001 From: dorlolo <428192774@qq.com> Date: Mon, 25 Apr 2022 20:08:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=AF=B7=E6=B1=82=E5=87=BA?= =?UTF-8?q?=E9=94=99=E6=97=B6=E7=9A=84=E5=BC=82=E5=B8=B8=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- simpleRequest.go | 1 + 1 file changed, 1 insertion(+) diff --git a/simpleRequest.go b/simpleRequest.go index d2041c1..4f14640 100644 --- a/simpleRequest.go +++ b/simpleRequest.go @@ -137,6 +137,7 @@ func (s *SimpleRequest) do(request *http.Request) (body []byte, err error) { resp, err := client.Do(request) if err != nil { fmt.Println("【Request Error】:", err.Error()) + return } //v0.0.2更新,将request和response内容返回,便于用户进行分析 JuneXu 03-11-2022