Commit 751d2371 authored by hj's avatar hj

更新提交

parent 4b0016c4
...@@ -12,7 +12,7 @@ trait HttpClientHelpers ...@@ -12,7 +12,7 @@ trait HttpClientHelpers
{ {
$options = []; $options = [];
$options['headers']['User-Agent'] = $this->randomUserAgent();//'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.71 Safari/537.1 LBBROWSER'; $options['headers']['User-Agent'] = 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.71 Safari/537.1 LBBROWSER';
$options['debug'] = env('API_DEBUG'); $options['debug'] = env('API_DEBUG');
$options['timeout'] = 60; $options['timeout'] = 60;
......
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