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]);