Commit f59c7f79 by 朱继来

Merge branch 'master' of http://119.23.72.7/zhujilai/Order into zjl_iteration_20190723

parents f1f58e82 1a583103
Showing with 2 additions and 2 deletions
...@@ -52,8 +52,8 @@ ...@@ -52,8 +52,8 @@
if(!function_exists('curl_init')) exit('Need to open the curl extension'); if(!function_exists('curl_init')) exit('Need to open the curl extension');
$method = strtoupper($method); $method = strtoupper($method);
$ci = curl_init(); $ci = curl_init();
curl_setopt($ci, CURLOPT_CONNECTTIMEOUT, 10); curl_setopt($ci, CURLOPT_CONNECTTIMEOUT, 30);
curl_setopt($ci, CURLOPT_TIMEOUT, 10); curl_setopt($ci, CURLOPT_TIMEOUT, 30);
curl_setopt($ci, CURLOPT_RETURNTRANSFER, true); curl_setopt($ci, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ci, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($ci, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ci, CURLOPT_SSL_VERIFYHOST, false); curl_setopt($ci, CURLOPT_SSL_VERIFYHOST, false);
......
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 sign in to comment