diff --git a/wechat.go b/wechat.go index da9cd729..017ae1eb 100644 --- a/wechat.go +++ b/wechat.go @@ -84,7 +84,7 @@ func (wc *Wechat) GetWork(cfg *workConfig.Config) *work.Work { return work.NewWork(cfg) } -// SetHttpClient 设置httpClient -func (wc *Wechat) SetHttpClient(client *http.Client) { +// SetHTTPClient 设置HTTPClient +func (wc *Wechat) SetHTTPClient(client *http.Client) { util.DefaultHTTPClient = client }