add clear

This commit is contained in:
as2252258@163.com
2020-01-03 11:27:57 +08:00
parent f7fe347ec3
commit 9934adad01
+2 -1
View File
@@ -8,6 +8,7 @@
namespace wchat;
use common\HttpClient;
use common\Result;
use common\Help;
@@ -172,7 +173,7 @@ class Recharge extends SmallProgram
private function send($url, $data)
{
$this->request->setIsSSL(true);
$this->request->setMethod(WxClient::POST);
$this->request->setMethod(HttpClient::POST);
$this->request->addHeader('Content-Type', 'text/xml');
return $this->request->send($url, $data);
}