公聊房-改造sendSysMsgService里发送全服房间消息的公共方法
This commit is contained in:
@@ -15,9 +15,20 @@ public class Attach {
|
||||
private String message;
|
||||
private Object data;
|
||||
|
||||
//用于携带给客户端,用于区分同一组first和second的消息,是单房间消息,还是轮询全服房间遍历发送的单房间消息
|
||||
//已使用公聊房机制,解决轮询全服房间发送消息的云信im限频问题
|
||||
private Integer allRoomMsg;
|
||||
|
||||
public Attach(int first, int second, Object data) {
|
||||
this.first = first;
|
||||
this.second = second;
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
public Attach(int first, int second, Object data, int allRoomMsg) {
|
||||
this.first = first;
|
||||
this.second = second;
|
||||
this.data = data;
|
||||
this.allRoomMsg = allRoomMsg;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user