add clear

This commit is contained in:
2020-05-22 15:15:08 +08:00
parent caf2960d4a
commit 4127dc283a
2 changed files with 5 additions and 8 deletions
+2 -2
View File
@@ -149,8 +149,8 @@ class PublicTemplate extends SmallProgram
$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);
$result = $this->request->post($url, $default);
$result->append('postBody', $default);
return $result;
}