add clear

This commit is contained in:
2020-04-01 11:53:15 +08:00
parent 7eeaef4c3b
commit 9dd8ea2d0b
8 changed files with 31 additions and 5 deletions
+2
View File
@@ -300,6 +300,8 @@ class Message extends SmallProgram
$url = '/cgi-bin/message/custom/send?access_token=' . $this->getAccessToken();
$this->request->setMethod(HttpClient::POST);
$this->request->setErrorField('errcode');
$this->request->setErrorMsgField('errmsg');
/** @var Result $body */
$body = $this->request->post($url, $data);