add clear
This commit is contained in:
@@ -49,9 +49,11 @@ class SecCheck extends SmallProgram
|
||||
$this->request->addHeader('Content-Type', 'application/json');
|
||||
$this->request->setErrorField('errCode');
|
||||
$this->request->setErrorMsgField('errMsg');
|
||||
return $this->request->post($this->_msgUrl . $this->config->getAccessToken(), [
|
||||
'appid' => $this->config->getAppid(), 'content' => $content
|
||||
]);
|
||||
$this->request->setData(json_encode([
|
||||
'appid' => $this->config->getAppid(),
|
||||
'content' => $content
|
||||
]));
|
||||
return $this->request->post($this->_msgUrl . $this->config->getAccessToken());
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user