add clear
This commit is contained in:
@@ -528,7 +528,6 @@ class HttpClient
|
||||
return $body;
|
||||
}
|
||||
$type = $data['content-type'];
|
||||
var_dump($body, $type);
|
||||
if (strpos($type, 'text/html') !== false) {
|
||||
return $body;
|
||||
} else if (strpos($type, 'json') !== false) {
|
||||
@@ -575,8 +574,6 @@ class HttpClient
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
||||
var_dump($body);
|
||||
if (is_string($body)) {
|
||||
$result['code'] = 0;
|
||||
$result['message'] = '';
|
||||
|
||||
Reference in New Issue
Block a user