[Modify]夺宝精灵修改
This commit is contained in:
@@ -49,6 +49,8 @@ public class HomeRoomInfo implements MultiItemEntity, Serializable {
|
||||
private String failContext;
|
||||
private boolean isPick;
|
||||
private boolean needOpenSelfRoom;
|
||||
private int isWeekTop1;
|
||||
private int isHourTop1;
|
||||
|
||||
@Override
|
||||
public int getItemType() {
|
||||
|
@@ -96,6 +96,9 @@ object TreasureFairyModel {
|
||||
api.getExchangeRecord(convertType, page, pageSize)
|
||||
}
|
||||
|
||||
suspend fun buyDebris(num: String, uid: String): String? = launchRequest {
|
||||
api.buyDebris(num, uid)
|
||||
}
|
||||
|
||||
private interface Api {
|
||||
|
||||
@@ -259,6 +262,18 @@ object TreasureFairyModel {
|
||||
@Query("page") page: Int,
|
||||
@Query("pageSize") pageSize: Int
|
||||
): ServiceResult<List<ExchangeGiftInfo>>
|
||||
|
||||
/**
|
||||
* 购买精灵碎片
|
||||
*
|
||||
*/
|
||||
@FormUrlEncoded
|
||||
@POST("/act/seize-treasure/shard/buy")
|
||||
suspend fun buyDebris(
|
||||
@Field("num") num: String,
|
||||
@Field("uid") uid: String
|
||||
): ServiceResult<String>
|
||||
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user