我的装饰页banner,替换房间麦位icon,渠道推荐房号,一键登录失败跳手机登录
This commit is contained in:
@@ -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
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user