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