add clear
This commit is contained in:
@@ -403,7 +403,6 @@ class HttpClient
|
||||
if (!empty($this->port) && $this->checkIsIp($this->host)) {
|
||||
$this->host .= ':' . $this->port;
|
||||
}
|
||||
var_dump('https://' . $this->host . '/' . $url);
|
||||
if ($this->isSSL) {
|
||||
return $this->curl('https://' . $this->host . '/' . $url, $data);
|
||||
} else {
|
||||
@@ -629,6 +628,7 @@ class HttpClient
|
||||
private function curl($url, $data = [])
|
||||
{
|
||||
try {
|
||||
var_dump($url);
|
||||
$output = $this->curlParse($url, $data);
|
||||
if ($output === FALSE) {
|
||||
return new Result(['code' => 500, 'message' => $output]);
|
||||
|
||||
Reference in New Issue
Block a user