add clear

This commit is contained in:
as2252258@163.com
2020-03-10 16:05:13 +08:00
parent c8ead691e6
commit ea822241a1
+2 -1
View File
@@ -137,7 +137,8 @@ class Template extends SmallProgram
$params = json_encode($params, JSON_UNESCAPED_UNICODE);
$this->request->setIsSSL(true);
$this->request->addHeader('content-type', 'application/json');
$this->request->setErrorField('errcode');
$this->request->setErrorMsgField('errmsg');
$result = $this->request->post($url, $params);
$result->append('postBody', $params);