add clear
This commit is contained in:
@@ -128,7 +128,7 @@ abstract class Template extends Miniprogarampage
|
||||
}
|
||||
// $params = json_encode($params, JSON_UNESCAPED_UNICODE);
|
||||
$this->request->setIsSSL(true);
|
||||
$this->request->addHeader('Content-Type', 'application/json');
|
||||
$this->request->addHeader('Content-Type', 'application/json; charset=utf-8');
|
||||
$this->request->setErrorField('errcode');
|
||||
$this->request->setErrorMsgField('errmsg');
|
||||
$result = $this->request->post($url, $params);
|
||||
|
||||
Reference in New Issue
Block a user