3
This commit is contained in:
@@ -652,6 +652,9 @@ class HttpClient
|
|||||||
private function curlParse($url, $data)
|
private function curlParse($url, $data)
|
||||||
{
|
{
|
||||||
$ch = curl_init();
|
$ch = curl_init();
|
||||||
|
|
||||||
|
var_dump($this->createRequestUrl($url, $data));
|
||||||
|
|
||||||
curl_setopt($ch, CURLOPT_URL, $this->createRequestUrl($url, $data));
|
curl_setopt($ch, CURLOPT_URL, $this->createRequestUrl($url, $data));
|
||||||
if ($this->timeout > 0) {
|
if ($this->timeout > 0) {
|
||||||
curl_setopt($ch, CURLOPT_TIMEOUT, $this->timeout); // 超时设置
|
curl_setopt($ch, CURLOPT_TIMEOUT, $this->timeout); // 超时设置
|
||||||
|
|||||||
Reference in New Issue
Block a user