diff --git a/wechat/v3/client.go b/wechat/v3/client.go index 234b0628..321cb425 100644 --- a/wechat/v3/client.go +++ b/wechat/v3/client.go @@ -60,6 +60,7 @@ func NewClientV3(mchid, serialNo, apiV3Key, privateKey string) (client *ClientV3 return client, nil } +// SetRequestIdFunc 设置自定义请求头 Request-Id 处理方法 func (c *ClientV3) SetRequestIdFunc(requestIdFunc xhttp.RequestIdHandler) { if requestIdFunc != nil { c.requestIdFunc = requestIdFunc