Commit 94a6cd37 authored by shajiaiming's avatar shajiaiming

fix

parent 0c43e6b9
......@@ -32,7 +32,11 @@ class TrusteeShipService
public function send($method = 'GET', $uri, $params = [])
{
$ch = new Curl();
$timeout = [
'connect_timeout' => 50000,
'timeout_ms' => 40000
];
$ch = new Curl($timeout);
if (!empty($this->header)) {
$ch->setHeaders($this->header);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment