Authored by weiqingting

提交

... ... @@ -342,7 +342,7 @@ function __sendRequest(options, success, fail,wlen,i,args) {
return;
}
try {
if (response && response.statusCode === 200) {
if (response && (response.statusCode === 200||response.statusCode === 302)) {
if (!options.outobj) {
obj = JSON.parse(body)
if (!(typeof obj == "object")) {
... ...
... ... @@ -342,7 +342,7 @@ function __sendRequest(options, success, fail,wlen,i,args) {
return;
}
try {
if (response && response.statusCode === 200) {
if (response && (response.statusCode === 200||response.statusCode === 302)) {
if (!options.outobj) {
obj = JSON.parse(body)
if (!(typeof obj == "object")) {
... ...