个播粉丝团开通粉丝团页面bugfix

This commit is contained in:
huangjian
2022-04-14 16:24:03 +08:00
parent 1ace14a2e7
commit 20ab9bd540
4 changed files with 75 additions and 46 deletions

View File

@@ -12,6 +12,6 @@ data class PrivilegeConfigVo(
val privilegeId: Int = 0,
val seq: Int = 0,
val status: Int = 0,
val type: Int = 0,
val type: Int = 0,//特权类型 1铭牌 2专属礼物 3入团礼物
val giftVo: GiftInfo? = null
)

View File

@@ -570,9 +570,9 @@ public class GiftModel extends BaseModel implements IGiftModel {
@Override
public Single<ServiceResult<GiftMultiReceiverInfo>> sendFansTeamGift(int giftId, String targetUid) {
return api.sendGift(AuthModel.get().getCurrentUid(),
return api.sendJoinFansGift(AuthModel.get().getCurrentUid(),
targetUid,
null,
String.valueOf(AvRoomDataManager.get().getRoomUid()),
giftId,
1,
"",
@@ -623,6 +623,24 @@ public class GiftModel extends BaseModel implements IGiftModel {
@Field("giftSource") int giftSource,
@Field("chatSessionId") String chatSessionId);
/**
* 送加入粉丝团礼物
*
* @return
*/
@POST("/anchorFansTeam/sendJoinTeamGift")
@FormUrlEncoded
Single<ServiceResult<GiftMultiReceiverInfo>> sendJoinFansGift(
@Field("uid") long uid,
@Field("targetUids") String targetUids,
@Field("roomUid") String roomUid,
@Field("giftId") int giftId,
@Field("giftNum") int giftNum,
@Field("msg") String msg,
@Field("sendType") int sendType,
@Field("giftSource") int giftSource,
@Field("chatSessionId") String chatSessionId);
}
private static class UiHandler extends Handler {