@@ -15,7 +15,8 @@ const request = (cmd, method = 'POST', params = {}, handleStatus = false) => {
'openid': userInfo.openid || ''
};
if (method && method.toUpperCase() === 'POST') {
- header['content-type'] = 'application/x-www-form-urlencoded';
+ // header['content-type'] = 'application/x-www-form-urlencoded';
+ header['content-type'] = 'application/json';
}
return header;