add clear
This commit is contained in:
+2
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user