update 整蛊

This commit is contained in:
2022-12-12 14:11:05 +08:00
parent d39ee17cc4
commit e4c490577d
3 changed files with 37 additions and 1 deletions

View File

@@ -635,6 +635,28 @@ public class LiveNetManager {
}).isDisposed();
}
/**
* 整蛊结束
*/
public void endPrankTurntable(String mLiveUid,HttpCallback<BaseModel> callback){
API.get().pdLiveApi(mContext)
.endPrankTurntable(mLiveUid)
.subscribeOn(Schedulers.io())
.subscribe(responseModel -> {
if (callback != null) {
callback.onSuccess(null);
}
}, new Consumer<Throwable>() {
@Override
public void accept(Throwable throwable) throws Exception {
if (callback != null) {
callback.onError(throwable.getMessage());
}
}
}).isDisposed();
}
/**
* 直播间取消网络请求
*/