From 6eb6d381f7d757035232d9564139b8cccde24db6 Mon Sep 17 00:00:00 2001 From: huang Date: Wed, 22 Apr 2026 16:58:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/gateway/client.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/gateway/client.go b/internal/gateway/client.go index 5913a5b..b57ed20 100644 --- a/internal/gateway/client.go +++ b/internal/gateway/client.go @@ -88,6 +88,7 @@ func (c *Client) doRequest(ctx context.Context, path string, params interface{}) // 将参数包装为 {"params": ...} 格式后序列化 wrapper := requestWrapper{Params: params} dataBytes, err := sonic.Marshal(wrapper) + c.logger.Info("发送gateway请求前结构:", zap.ByteString("body", dataBytes)) if err != nil { return nil, errors.Wrap(errors.CodeInternalError, err, "序列化业务数据失败") }