Merge branch 'pro' into pre

This commit is contained in:
ziming 2025-05-12 09:41:16 +08:00
commit ae34f4153a
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ func Request(_ context.Context, method, url string, body []byte, o *Options) (ht
resp, err := httpClient.Do(req) resp, err := httpClient.Do(req)
if err != nil { if err != nil {
return nil, nil, fmt.Errorf("发送HTTP请求失败: %w", err) return nil, nil, fmt.Errorf("发送请求失败,timeout:%v,err:%w", o.Timeout, err)
} }
defer resp.Body.Close() defer resp.Body.Close()