添加 LiveService.getBulletScreenConfig 的快捷调用

This commit is contained in:
czp 2018-02-05 00:01:48 +08:00
parent 5d9d7ae48e
commit 8c67a3b335

View File

@ -13,6 +13,10 @@ public interface LiveService {
@GET("AppRoom/danmuConfig")
Call<BulletScreenConfigEntity> getBulletScreenConfig(@Query("type") String type);
default Call<BulletScreenConfigEntity> getBulletScreenConfig() {
return getBulletScreenConfig("all");
}
@GET("AppRoom/msg")
Call<LiveHistoryBulletScreensEntity> getHistoryBulletScreens(@Query("room_id") long roomId);