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