objcoding/wxpay

http.Post 未传入timeout

rockXiaofeng opened this issue · 0 comments

return &Client{
...
httpConnectTimeoutMs: 2000,
httpReadTimeoutMs: 1000,
}

为什么项目里面不使用这两个参数呢? 按照godoc: "A Timeout of zero means no timeout."