日志
All checks were successful
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Successful in 7m32s

This commit is contained in:
2026-04-22 16:58:04 +08:00
parent e27758cce3
commit 6eb6d381f7

View File

@@ -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, "序列化业务数据失败")
}