Browse Source

配置代理

陈德本 5 years ago
parent
commit
b9ba14acfe
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Library/Curl.php

+ 1 - 1
Library/Curl.php

@@ -23,7 +23,7 @@ class Curl
      * @param array $header header信息  array('Host: api.kingdee.meitushop.com' )设置请求的host
      * @return string
      */
-    public static function get($url, $proxy = null, $timeout = 30, $header = null, $REFERER = null)
+    public static function get($url, $proxy = null, $timeout = 10, $header = null, $REFERER = null)
     {