我的页面增加点击事件处理

This commit is contained in:
huangjian
2022-07-25 11:28:34 +08:00
parent 9fecbd6dd0
commit e221fcdb05
12 changed files with 154 additions and 15 deletions

View File

@@ -139,9 +139,9 @@ object HomeModel : BaseModel() {
api.getCollectRoom(AuthModel.get().currentUid, pageNum, pageSize)
}
suspend fun fastPickGameRoom(): HomeRoomInfo? =
suspend fun fastPickGameRoom(mgId:Long?): HomeRoomInfo? =
launchRequest {
api.fastPickGameRoom()
api.fastPickGameRoom(mgId)
}
suspend fun getHomeSingleAnchorList(): List<HomeRoomInfo>? =
@@ -313,7 +313,7 @@ object HomeModel : BaseModel() {
* @return
*/
@GET("home/fastPick")
suspend fun fastPickGameRoom(): ServiceResult<HomeRoomInfo>
suspend fun fastPickGameRoom(@Query("mgId") mgId: Long?): ServiceResult<HomeRoomInfo>
/**
* 首页人气主播

View File

@@ -220,4 +220,40 @@ public class RouterType {
* 65-资料卡装扮
*/
public static final int USER_BUBBLE = 56;
/**
* 64我的房间
*/
public static final int MY_ROOM = 64;
/**
* 66-收藏的房间
*/
public static final int COLLECTION_ROOM = 65;
/**
* 67-我的公会
*/
public static final int MODULE_CLAN = 67;
/**
* 68-青少年模式
*/
public static final int PATRIARCH_MODE = 68;
/**
* 69-赛程管理
*/
public static final int SCHEDULE_MANAGE = 69;
/**
* 70-访客记录
*/
public static final int VISITOR_LIST = 70;
/**
* 71-CP主页
*/
public static final int CP_HOME = 71;
/**
* 71-粉丝团列表
*/
public static final int FANS_TEAM_LIST = 72;
}

View File

@@ -93,6 +93,14 @@ public class UserInfo implements Serializable {
private long followNum;
//粉丝数
private long fansNum;
//访客数量
@Getter
@Setter
private long visitNum;
//进房历史记录数量
@Getter
@Setter
private long inRoomNum;
//人气值
private long fortune;
//1普通账号2官方账号3机器账号 ,4公会账号