服务端
采用批量 单推模式



封装库用法
// 发送者
PushDispatcher dispatcher = new PushDispatcher();
// 具体推送的内容
PushModel pushModel = new PushModel()
.add(history.getEntityType(), history.getEntity());
// 添加并提交到第三方推送
dispatcher.add(receiver, pushModel);
dispatcher.submit();
网友评论