add clear
This commit is contained in:
@@ -53,7 +53,7 @@ class SecCheck extends SmallProgram
|
||||
// $this->request->setHost('api.q.qq.com');
|
||||
$this->request->setIsSSL(true);
|
||||
|
||||
$url = 'https://api.q.qq.com'.$this->_msgUrl . $this->config->getAccessToken();
|
||||
$url = 'https://api.q.qq.com/' . ltrim($this->_msgUrl, '/') . $this->config->getAccessToken();
|
||||
return $this->request->post($url, json_encode([
|
||||
'appid' => $this->config->getAppid(),
|
||||
'content' => $content
|
||||
|
||||
Reference in New Issue
Block a user