派对banner使用组队开黑的
This commit is contained in:
@@ -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>>
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 首页资源位
|
||||
*
|
||||
|
Reference in New Issue
Block a user