From 8152b1b85efe8c7911bc7d31ae57ce7d189eb00d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Thu, 21 May 2020 17:06:55 +0800 Subject: [PATCH] add clear --- wchat/common/HttpClient.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wchat/common/HttpClient.php b/wchat/common/HttpClient.php index c859d4c..5563ebe 100644 --- a/wchat/common/HttpClient.php +++ b/wchat/common/HttpClient.php @@ -560,7 +560,7 @@ class HttpClient } else if (strpos($contentType, 'xml') !== false) { return Help::toXml($data); } else { - return Help::toJson($data); + return http_build_query($data); } }