This commit is contained in:
parent
61da538e2f
commit
ce501ce5cc
|
|
@ -98,7 +98,6 @@ func Request(_ context.Context, method, url string, body []byte, o *Options) (ht
|
||||||
|
|
||||||
req.Header = o.Headers
|
req.Header = o.Headers
|
||||||
|
|
||||||
// 使用共享客户端
|
|
||||||
resp, err := o.HttpClient.Do(req)
|
resp, err := o.HttpClient.Do(req)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, nil, fmt.Errorf("发送请求失败,err:%w", err)
|
return nil, nil, fmt.Errorf("发送请求失败,err:%w", err)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue