按照官方接口
写的多tm清晰,简洁啊!
但是,你tm按照写的文档来写接口啊!!
大家请注意,这个接口经常抽风,返回的errcode和errmsg并不一定存在,所以如果我做了如下判断
if (response.getErrCode() != "0") {
throw new FailedException(response.getErrMsg());
}
看到了吗?直接报错了!!
按照官方接口
写的多tm清晰,简洁啊!
但是,你tm按照写的文档来写接口啊!!
大家请注意,这个接口经常抽风,返回的errcode和errmsg并不一定存在,所以如果我做了如下判断
if (response.getErrCode() != "0") {
throw new FailedException(response.getErrMsg());
}
看到了吗?直接报错了!!