调整弹幕统计接口字段

This commit is contained in:
2024-01-15 17:52:53 +08:00
parent b5c8f14994
commit a4e98f3703
3 changed files with 5 additions and 4 deletions

View File

@@ -1143,7 +1143,7 @@ public interface PDLiveApi {
Observable<ResponseModel<String>> battlePassRule();
@GET("/api/public/?service=Livebattlepass.addChatCount")
Observable<ResponseModel<List<BaseModel>>> addChatCount();
Observable<ResponseModel<List<BaseModel>>> addChatCount(@Query("stream") String stream);
@GET("/api/public/?service=Sudgameserver.joinMic")
Observable<ResponseModel<List<BaseModel>>> joinMic(@Query("room_id") String roomId);

View File

@@ -2772,9 +2772,9 @@ public class LiveNetManager {
}).isDisposed();
}
public void addChatCount(HttpCallback<HttpCallbackModel> callback) {
public void addChatCount(String stream,HttpCallback<HttpCallbackModel> callback) {
API.get().pdLiveApi(mContext)
.addChatCount()
.addChatCount(stream)
.subscribeOn(Schedulers.io())
.observeOn(AndroidSchedulers.mainThread())
.subscribe(responseModel -> {