Authored by dongjunjie

interface接口异常提示

... ... @@ -370,8 +370,9 @@ function __sendRequest(options, success, fail, wlen, i, args) {
obj = options.outobj.toLocaleUpperCase().indexOf("BODY")>-1?body:response;
}
} else {
_err_.message = "Error[response state @" + options.title + "--"+options.url+"]:" + response.statusCode;
console.info(_err_.message);
_err_.message = "接口异常";
console.info("Error[response state @" + options.title + "--"+options.url+"]:" + response.statusCode);
console.info(response);
console.error(_err_);
wlen.len = 0;
fail && fail(_err_);
... ...