diff --git a/common/src/main/java/com/yunbao/common/http/live/LiveNetManager.java b/common/src/main/java/com/yunbao/common/http/live/LiveNetManager.java index 6d3920e39..d5573475b 100644 --- a/common/src/main/java/com/yunbao/common/http/live/LiveNetManager.java +++ b/common/src/main/java/com/yunbao/common/http/live/LiveNetManager.java @@ -1620,7 +1620,11 @@ public class LiveNetManager { @Override public void accept(ResponseModel objectResponseModel) throws Exception { if (callback != null) { - callback.onSuccess(objectResponseModel.getData().getMsg()); + if(objectResponseModel.getData().getCode()==0){ + callback.onSuccess(objectResponseModel.getData().getMsg()); + }else { + callback.onError(objectResponseModel.getData().getMsg()); + } } } }, new Consumer() {