This commit is contained in:
18142669586
2022-08-20 14:48:09 +08:00
parent 8bd6a6b071
commit 3ae14ed506
16 changed files with 422 additions and 42 deletions

View File

@@ -45,11 +45,7 @@ public abstract class HttpCallback extends AbsCallback<JsonBean> {
//token过期重新登录
RouteUtil.forwardLoginInvalid(data.getMsg());
} else {
if(data.getInfo().length==0){
onSuccess(data.getCode(), data.getMsg(), new String[]{data.getData()});
}else {
onSuccess(data.getCode(), data.getMsg(), data.getInfo());
}
onSuccess(data.getCode(), data.getMsg(), data.getInfo());
}
} else {
L.e("服务器返回值异常--->ret: " + bean.getRet() + " msg: " + bean.getMsg());