no message
This commit is contained in:
parent
7f5e93d5ff
commit
defe087f24
@ -54,7 +54,7 @@ class Http
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 'get':
|
case 'get':
|
||||||
var_dump($this->sToUrl . '?' . http_build_query($this->aData));exit;
|
// var_dump($this->sToUrl . '?' . http_build_query($this->aData));exit;
|
||||||
// 默认使用 GET 请求
|
// 默认使用 GET 请求
|
||||||
curl_setopt($ch, CURLOPT_HTTPGET, true); // 设置为 GET 请求
|
curl_setopt($ch, CURLOPT_HTTPGET, true); // 设置为 GET 请求
|
||||||
curl_setopt($ch, CURLOPT_URL, $this->sToUrl . '?' . http_build_query($this->aData)); // 设置请求 URL
|
curl_setopt($ch, CURLOPT_URL, $this->sToUrl . '?' . http_build_query($this->aData)); // 设置请求 URL
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user