Skip to content

Commit

Permalink
提高超时时长
Browse files Browse the repository at this point in the history
  • Loading branch information
Hanson committed Sep 9, 2017
1 parent 6c40c44 commit 8348bfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Foundation/Api.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public static function request($api, $data, $method = 'post')
'Content-Type' => 'application/x-www-form-urlencoded; charset=UTF-8',
'Referer' => 'http://kan.msxiaobing.com/V3/Portal?task=yanzhi&ftid=',
],
'timeout' => 7,
'timeout' => 15,
];

$options = is_array($data) ? array_merge($options, ['form_params' => $data]) : array_merge($options, ['body' => $data]);
Expand Down

0 comments on commit 8348bfd

Please sign in to comment.