add clear

This commit is contained in:
as2252258@163.com
2020-01-09 19:12:45 +08:00
parent ace3d67552
commit 889d8a438c
+1
View File
@@ -528,6 +528,7 @@ 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) {