派对banner使用组队开黑的

This commit is contained in:
huangjian
2023-03-16 17:10:21 +08:00
parent cd0898ae68
commit da01c04dcc
7 changed files with 161 additions and 95 deletions

View File

@@ -105,6 +105,11 @@ object HomeModel : BaseModel() {
api.getHotRoom()
}
suspend fun getPlayRoom(): List<HomeRoomInfo>? =
launchRequest {
api.getPlayRoom()
}
suspend fun getHomeResource(): MutableList<ResourceInfo>? =
launchRequest {
api.getHomeResource()
@@ -269,6 +274,16 @@ object HomeModel : BaseModel() {
@GET("home/hotRoom")
suspend fun getHotRoom(): ServiceResult<List<HomeRoomInfo>>
/**
* 首页热门房间
*
* @return
*/
@GET("home/playV2")
suspend fun getPlayRoom(): ServiceResult<List<HomeRoomInfo>>
/**
* 首页资源位
*