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 f344588e0..512cf203b 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 @@ -2789,7 +2789,7 @@ public class LiveNetManager { }).isDisposed(); } - public void addChatCount(String stream,HttpCallback callback) { + public void addChatCount(String stream, HttpCallback callback) { API.get().pdLiveApi(mContext) .addChatCount(stream) .subscribeOn(Schedulers.io()) @@ -3292,6 +3292,7 @@ public class LiveNetManager { } }).isDisposed(); } + public void getMessageSayHiStartTimer( HttpCallback callback) { API.get().pdLiveApi(mContext) @@ -3335,26 +3336,6 @@ public class LiveNetManager { }).isDisposed(); } - public void getUserHomeBanner(String search, HttpCallback> callback) { - API.get().pdLiveApi(mContext) - .getUserHomeBanner(search) - .subscribeOn(Schedulers.io()) - .observeOn(AndroidSchedulers.mainThread()) - .subscribe(roomMicStatusModelResponseModel -> { - if (callback != null) { - callback.onSuccess(roomMicStatusModelResponseModel.getData().getInfo()); - } - }, new Consumer() { - @Override - public void accept(Throwable throwable) throws Exception { - throwable.printStackTrace(); - if (callback != null) { - callback.onError(mContext.getString(R.string.net_error)); - } - } - }).isDisposed(); - } - public void getUserHomeInfo(String touid, HttpCallback callback) { API.get().pdLiveApi(mContext) .getUserHomeInfo(touid) @@ -3407,7 +3388,6 @@ public class LiveNetManager { } - /** * 直播间取消网络请求 */