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))