Authored by weiqingting

提交

... ... @@ -212,7 +212,7 @@ function __requestOption(req, apiOpt, config, consts) {
options.headers = {
'Content-Type' : 'application/x-www-form-urlencoded'
}
} if (apiOpt.query) {
} else if (apiOpt.query) {
//不做任何事
} else {
options.body = JSON.stringify(data);
... ...
... ... @@ -212,7 +212,7 @@ function __requestOption(req, apiOpt, config, consts) {
options.headers = {
'Content-Type' : 'application/x-www-form-urlencoded'
}
} if (apiOpt.query) {
} else if (apiOpt.query) {
//不做任何事
} else {
options.body = JSON.stringify(data);
... ...