我的装饰页banner,替换房间麦位icon,渠道推荐房号,一键登录失败跳手机登录

This commit is contained in:
oujunhui
2020-06-04 16:56:00 +08:00
parent 3f413ba8e3
commit ba5376d4c0
23 changed files with 232 additions and 31 deletions

View File

@@ -82,6 +82,14 @@ public class GameHomeModel extends BaseModel {
.compose(RxHelper.handleSchedulers());
}
public Single<String> getRoomShortcut(){
return api.apiRoomShortcut(String.valueOf(AuthModel.get().getCurrentUid()),
CommunityConstant.VERSION_VALID_TYPE,
AuthModel.get().getTicket())
.compose(RxHelper.handleBeanData())
.compose(RxHelper.handleSchedulers());
}
private static final class Helper {
public static final GameHomeModel INSTANCE = new GameHomeModel();
@@ -190,7 +198,16 @@ public class GameHomeModel extends BaseModel {
@Query("uid") String uid,
@Query("types") String types,
@Query("ticket") String ticket);
@GET("/room/shortcut/recommend")
Single<ServiceResult<String>> apiRoomShortcut(
@Query("uid") String uid,
@Query("types") String types,
@Query("ticket") String ticket
);
}
}