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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
| package com.yeshi.fanli.service.inter.push;
|
| import com.yeshi.fanli.exception.PushException;
|
| public interface PushService {
| /**
| * 推送商品
| *
| * @param uid
| * @param url
| * @param title
| * @param content
| * @throws PushException
| */
| void pushGoods(Long uid, String url, String title, String content) throws PushException;
|
| /**
| * 推送链接
| *
| * @param uid
| * @param url
| * @param title
| * @param content
| * @throws PushException
| */
| void pushUrl(Long uid, String url, String title, String content) throws PushException;
|
| /**
| * 推送站内信
| *
| * @param uId
| * @param title
| * @param content
| * @throws PushException
| */
| void pushZNX(Long uId, String title, String content) throws PushException;
|
| /**
| * 适用版本 1.4.8及以后
| * 推送weex页面
| * @param uid
| * @param title
| * @param content
| * @param weexUrl
| * @throws PushException
| */
| void pushWEEX(Long uid, String title, String content, String weexUrl) throws PushException;
|
|
| /**
| * 适用版本 1.4.8及以后
| * 推送百川网页
| * @param uid
| * @param title
| * @param content
| * @param url
| * @throws PushException
| */
| void pushBaiChuanUrl(Long uid, String title, String content, String url) throws PushException;
| }
|
|