PushLogService.java
1.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
package com.brframework.commonapppush.service;
import com.brframework.commonapppush.entity.PushLog;
import com.brframework.commondb.core.EntityService;
/**
* 推送记录
* @author xu
* @date 2019/11/18 19:20
*/
public interface PushLogService extends EntityService<PushLog, Long, Object> {
/**
* 创建单播记录
* @param messageId 消息id
* @param deviceTokens 客户端标识
* @param userTokens 系统用户标识
* @param os 系统
* @param title 消息标题
* @param text 消息内容
* @param uri 跳转(android有效)
* @param description 消息描述
* @param status 发送状态
* @param errorInfo 错误信息
*/
void createUnicastLog(String messageId, String deviceTokens, String userTokens, String os, String title, String text
, String uri, String description, Integer status, String errorInfo);
/**
* 创建广播记录
* @param messageId 消息id
* @param os 系统
* @param title 消息标题
* @param text 消息内容
* @param uri 跳转(android有效)
* @param description 消息描述
* @param status 发送状态
* @param errorInfo 错误信息
*/
void createBroadcastLog(String messageId, String os, String title, String text
, String uri, String description, Integer status, String errorInfo);
}