From 12e627aac6085ef4eca87e6fe897bd9586a84fac Mon Sep 17 00:00:00 2001 From: zhongqiang <15375399426> Date: Wed, 18 Jun 2025 16:10:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E6=8E=A5=E6=96=B0=E4=BE=9B=E5=BA=94?= =?UTF-8?q?=E9=93=BE-=E5=94=AF=E5=93=81=E5=B0=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- weipinshang_api/wei_pin_shang_client.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/weipinshang_api/wei_pin_shang_client.go b/weipinshang_api/wei_pin_shang_client.go index 558c00a..e60cae2 100644 --- a/weipinshang_api/wei_pin_shang_client.go +++ b/weipinshang_api/wei_pin_shang_client.go @@ -278,10 +278,10 @@ func (w *WeiPinShangClient) WPSPost(url string, paramMap map[string]any) (res [] return } req.Header.Set("md5", sign) - log.Printf("WPSPost req: %+v\n", req) + //log.Printf("WPSPost req: %+v\n", req) // 创建 HTTP 客户端 client := &http.Client{} - log.Printf("WPSPost client: %+v\n", client) + //log.Printf("WPSPost client: %+v\n", client) // 发送请求 resp, err := client.Do(req) log.Printf("WPSPost resp: %+v\n", resp) @@ -299,7 +299,7 @@ func (w *WeiPinShangClient) WPSPost(url string, paramMap map[string]any) (res [] return } - fmt.Printf("res: %s\n", string(res)) + //fmt.Printf("res: %s\n", string(res)) if !json.Valid(res) { return nil, errors.New("响应体不是有效的JSON格式")