From 109db2e3c4ef1d7444110eb2ee2444b04737cbbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Wed, 12 Aug 2020 17:22:19 +0800 Subject: [PATCH] add clear --- wchat/common/HttpClient.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wchat/common/HttpClient.php b/wchat/common/HttpClient.php index c25022b..275eaac 100644 --- a/wchat/common/HttpClient.php +++ b/wchat/common/HttpClient.php @@ -624,6 +624,7 @@ class HttpClient public function upload($url, $params) { try { + $this->method = self::POST; $output = $this->curlParse($url, $params); if ($output === FALSE) { return new Result(['code' => 500, 'message' => $output]);