add clear
This commit is contained in:
@@ -137,7 +137,8 @@ class Template extends SmallProgram
|
|||||||
$params = json_encode($params, JSON_UNESCAPED_UNICODE);
|
$params = json_encode($params, JSON_UNESCAPED_UNICODE);
|
||||||
$this->request->setIsSSL(true);
|
$this->request->setIsSSL(true);
|
||||||
$this->request->addHeader('content-type', 'application/json');
|
$this->request->addHeader('content-type', 'application/json');
|
||||||
|
$this->request->setErrorField('errcode');
|
||||||
|
$this->request->setErrorMsgField('errmsg');
|
||||||
$result = $this->request->post($url, $params);
|
$result = $this->request->post($url, $params);
|
||||||
$result->append('postBody', $params);
|
$result->append('postBody', $params);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user