add clear
This commit is contained in:
@@ -49,16 +49,15 @@ class SecCheck extends SmallProgram
|
||||
$this->request->addHeader('Content-Type', 'application/json');
|
||||
$this->request->setErrorField('errCode');
|
||||
$this->request->setErrorMsgField('errMsg');
|
||||
$this->request->setData(null);
|
||||
$this->request->setData([
|
||||
'appid' => $this->config->getAppid(),
|
||||
'content' => $content
|
||||
]);
|
||||
$this->request->setHost('api.q.qq.com');
|
||||
$this->request->setIsSSL(true);
|
||||
|
||||
$url = '/' . ltrim($this->_msgUrl, '/') . $this->config->getAccessToken();
|
||||
var_dump($url);
|
||||
return $this->request->post($url, [
|
||||
'appid' => $this->config->getAppid(),
|
||||
'content' => $content
|
||||
]);
|
||||
return $this->request->post($url);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user