From bc344f892c1afcf527a992c3df2b64aa14d3d7b9 Mon Sep 17 00:00:00 2001 From: huang Date: Fri, 24 Apr 2026 11:25:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=97=A5=E5=BF=97=E8=BE=93?= =?UTF-8?q?=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/fuiou/client.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg/fuiou/client.go b/pkg/fuiou/client.go index 01b24fd..05f8de6 100644 --- a/pkg/fuiou/client.go +++ b/pkg/fuiou/client.go @@ -132,9 +132,11 @@ func (c *Client) DoRequest(path string, req interface{}, resp interface{}) error reqURL := strings.TrimRight(c.ApiURL, "/") + path body := "req=" + encoded - c.logger.Debug("富友请求发送", + c.logger.Info("富友请求完整报文", zap.String("url", reqURL), zap.String("path", path), + zap.String("request_xml", xmlStr), + zap.String("request_body", body), ) httpResp, err := http.Post(reqURL, "application/x-www-form-urlencoded", strings.NewReader(body))