no message

This commit is contained in:
hellcat 2026-09-30 15:38:53 +08:00
parent 7f5e93d5ff
commit defe087f24

View File

@ -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