修改BUG
This commit is contained in:
@@ -88,7 +88,9 @@ public class RoomMessageEvent {
|
||||
|
||||
private int online_number;//在线人数
|
||||
|
||||
private BlindBoxBean.XlhData xlh_Data;
|
||||
private BlindBoxBean.XlhData xlh_data;
|
||||
private String from_pit_number;
|
||||
private String to_pit_number;
|
||||
}
|
||||
|
||||
@Data
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
package com.xscm.moduleutil.bean;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
*@author qx
|
||||
*@data 2025/9/2
|
||||
*@description: 巡乐会开始后推送的信息
|
||||
*/
|
||||
@Data
|
||||
public class XLHBean {
|
||||
private String text;
|
||||
private String room_id;
|
||||
|
||||
private int from_type ;
|
||||
}
|
||||
@@ -21,10 +21,17 @@ public class BlindBoxBean {
|
||||
private String title;
|
||||
private String rule_url;
|
||||
private String rule;
|
||||
private String box_price ;
|
||||
private int box_price ;///每一次抽奖的价格
|
||||
private String xlh_end_time;///巡乐会结束时间
|
||||
private int is_xlh; ///是否开启巡乐会 0 关闭 1 开启
|
||||
private Object xlh_data;
|
||||
private List<GiftBean> gift_list;
|
||||
|
||||
private GiveGift give_homeowner_gift;//房主礼物
|
||||
private GiveGift locking_gift;//锁定礼物
|
||||
|
||||
private xlhUser xlh_user;//巡乐会中奖用户
|
||||
|
||||
public boolean isXlhDataArray() {
|
||||
return xlh_data instanceof JsonArray || xlh_data instanceof List;
|
||||
}
|
||||
@@ -124,4 +131,18 @@ public class BlindBoxBean {
|
||||
private int current_num;//当前已抽奖次数
|
||||
private int status;
|
||||
}
|
||||
@Data
|
||||
public static class GiveGift {
|
||||
private int gift_id;
|
||||
private String gift_name;
|
||||
private String base_image;
|
||||
private String gift_num;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class xlhUser {
|
||||
private String user_id;
|
||||
private String nickname;
|
||||
private String avatar;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -100,6 +100,9 @@ public class EMMessageInfo implements MultiItemEntity {
|
||||
public static final int QXRoomMessageTypeMangH = 1056;
|
||||
///巡乐会
|
||||
public static final int QXRoomMessageTypeXlh = 1057;
|
||||
|
||||
///
|
||||
public static final int QXRoomMessageTypehm = 1039;
|
||||
private RoomMessageEvent emMessage;
|
||||
|
||||
private int custom = 0;
|
||||
@@ -154,6 +157,7 @@ public class EMMessageInfo implements MultiItemEntity {
|
||||
case QXRoomMessageTypeRoomOMh:
|
||||
case QXRoomMessageTypeRoomFriendPartDidChanged:
|
||||
case QXRoomMessageTypeSeatDidChanged:
|
||||
case QXRoomMessageTypehm:
|
||||
return 1;
|
||||
case QXRoomMessageTypeGift:
|
||||
return 3;
|
||||
|
||||
@@ -40,7 +40,7 @@ public class RoomAuction implements Serializable {
|
||||
}
|
||||
|
||||
@Data
|
||||
public class AuctionListBean implements Serializable {
|
||||
public static class AuctionListBean implements Serializable {
|
||||
private String user_id;
|
||||
private String user_code;
|
||||
private String nickname;
|
||||
|
||||
Reference in New Issue
Block a user