add clear

This commit is contained in:
as2252258@163.com
2020-01-09 19:13:47 +08:00
parent 2682cdacf8
commit d17392ffb8
-3
View File
@@ -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'] = '';