2、将var a=$("#sidebar").children();替换为var a=$("#sidebar").find("section");。...($this->curl, CURLOPT_URL, $url); //设置请求的URL
curl_setopt($this->curl, CURLOPT_USERAGENT,...curl_setopt($this->curl, CURLOPT_HTTPHEADER, $header); //设置请求头
curl_setopt($this->curl, CURLOPT_RETURNTRANSFER..., "GET"); //设置请求方式
curl_setopt($this->curl, CURLOPT_CONNECTTIMEOUT, 60); /* 在发起连接前等待的时间,如果设置为...if ($ssl) {
curl_setopt($this->curl, CURLOPT_SSL_VERIFYPEER, FALSE); // https请求 不验证证书和