Revert "改名"

This reverts commit fdf58326
This commit is contained in:
2022-01-11 16:20:49 +08:00
parent 88a414f0bb
commit b8e7a5f086
+2 -1
View File
@@ -49,8 +49,9 @@ class CurlClient extends ClientAbstracts
$host = $isHttps ? 'https://' . $host : 'http://' . $host; $host = $isHttps ? 'https://' . $host : 'http://' . $host;
if ($this->getPort() != 443 && $this->getPort() != 80) { if ($this->getPort() != 443 && $this->getPort() != 80) {
$host .= ':' . $this->getPort(); $host .= ':' . $this->getPort();
var_dump($this->getPort());
} }
var_dump($host . $path);
$this->do(curl_init($host . $path), $host . $path, $method); $this->do(curl_init($host . $path), $host . $path, $method);
if ($isHttps !== FALSE) { if ($isHttps !== FALSE) {
$this->curlHandlerSslSet(); $this->curlHandlerSslSet();