add clear

This commit is contained in:
2020-09-24 11:33:28 +08:00
parent c0ab8adfcb
commit 421c6ecf31
+1 -1
View File
@@ -49,7 +49,7 @@ class Account extends SmallProgram
$param['grant_type'] = 'authorization_code';
$this->request->setMethod(HttpClient::GET);
$this->request->addHeader('Content-Type', 'text/xml');
$this->request->addHeader('Content-Type', 'application/json');
$this->request->setErrorField('errcode');
$this->request->setErrorMsgField('errmsg');