This commit is contained in:
2020-11-14 03:06:42 +08:00
parent 8f8161a780
commit 6e488f87b1
+2 -2
View File
@@ -402,9 +402,9 @@ class HttpClient
$this->host .= ':' . $this->port; $this->host .= ':' . $this->port;
} }
if ($this->isSSL) { if ($this->isSSL) {
return $this->curl('https://' . $this->host . '/' . $url, $data); return $this->curl($this->host . '/' . $url, $data);
} else { } else {
return $this->curl('http://' . $this->host . '/' . $url, $data); return $this->curl($this->host . '/' . $url, $data);
} }
} }