未验证 提交 98e0ce34 编写于 作者: 安正超 提交者: GitHub

Fix #125 #126

上级 1ef0b733
...@@ -93,7 +93,7 @@ trait HasHttpRequest ...@@ -93,7 +93,7 @@ trait HasHttpRequest
{ {
$options = [ $options = [
'base_uri' => method_exists($this, 'getBaseUri') ? $this->getBaseUri() : '', 'base_uri' => method_exists($this, 'getBaseUri') ? $this->getBaseUri() : '',
'timeout' => method_exists($this, 'getTimeout') ? $this->timeout : 5.0, 'timeout' => method_exists($this, 'getTimeout') ? $this->getTimeout() : 5.0,
]; ];
return $options; return $options;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册