add clear
This commit is contained in:
@@ -42,7 +42,9 @@ class SecCheck extends SmallProgram
|
|||||||
return $this->sendError('文件不存在', 404);
|
return $this->sendError('文件不存在', 404);
|
||||||
}
|
}
|
||||||
$this->request->setUseSwoole(false);
|
$this->request->setUseSwoole(false);
|
||||||
$this->request->setHeader(['Content-Type' => 'application/json']);
|
$this->request->addHeader('Content-Type', 'application/json');
|
||||||
|
$this->request->setErrorField('errCode');
|
||||||
|
$this->request->setErrorMsgField('errMsg');
|
||||||
return $this->request->post($this->_msgUrl . $this->config->getAccessToken(), ['content' => $content]);
|
return $this->request->post($this->_msgUrl . $this->config->getAccessToken(), ['content' => $content]);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user