add clear
This commit is contained in:
@@ -175,6 +175,8 @@ class Recharge extends SmallProgram
|
||||
$this->request->setIsSSL(true);
|
||||
$this->request->setMethod(HttpClient::POST);
|
||||
$this->request->addHeader('Content-Type', 'text/xml');
|
||||
$this->request->setErrorField('errcode');
|
||||
$this->request->setErrorMsgField('errmsg');
|
||||
return $this->request->send($url, $data);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user