From 889d8a438c5d51c9ccd02224193142914efde85d Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Thu, 9 Jan 2020 19:12:45 +0800 Subject: [PATCH] add clear --- common/HttpClient.php | 1 + 1 file changed, 1 insertion(+) diff --git a/common/HttpClient.php b/common/HttpClient.php index 42db3ef..d12d446 100644 --- a/common/HttpClient.php +++ b/common/HttpClient.php @@ -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) {