소스 검색

配置代理

陈德本 5 년 전
부모
커밋
b9ba14acfe
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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)
     {