This commit is contained in:
2020-11-14 03:08:43 +08:00
parent 63d0639b85
commit 411bd5f017
+1 -5
View File
@@ -401,11 +401,7 @@ class HttpClient
if (!empty($this->port)) {
$this->host .= ':' . $this->port;
}
if ($this->isSSL) {
return $this->curl($this->host . '/' . $url, $data);
} else {
return $this->curl($this->host . '/' . $url, $data);
}
return $this->curl('http://' . $this->host . '/' . $url, $data);
}
/**