admin
2021-06-01 4f5a5b0a00c01491f009074351089f086f950d3e
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
package com.yeshi.fanli.service.inter.push;
 
import com.yeshi.fanli.dto.push.PushBaseContent;
import com.yeshi.fanli.dto.push.PushContentDetailDTO;
import com.yeshi.fanli.entity.SystemEnum;
import com.yeshi.fanli.exception.push.PushException;
 
import java.util.List;
 
/**
 * 华为推送服务
 *
 * @author Administrator
 */
public interface HWPushService {
 
    /**
     * 推送商品
     *
     * @param uid
     * @throws PushException
     */
    void pushGoods(Long uid, Long auctionId, PushBaseContent baseContent)
            throws PushException;
 
    /**
     * 推送链接
     *
     * @param uid
     * @param url
     * @throws PushException
     */
    void pushUrl(Long uid, String url, PushBaseContent baseContent)
            throws PushException;
 
    /**
     * 推送站内信
     *
     * @param uId
     * @throws PushException
     */
    void pushZNX(Long uId, PushBaseContent baseContent) throws PushException;
 
    /**
     * 适用版本 1.4.8及以后 推送weex页面
     *
     * @param uid
     * @param weexUrl
     * @throws PushException
     */
    void pushWEEX(Long uid, String weexUrl, PushBaseContent baseContent)
            throws PushException;
 
    /**
     * 适用版本 1.4.8及以后 推送百川网页
     *
     * @param uid
     * @param url
     * @throws PushException
     */
    void pushBaiChuanUrl(Long uid, String url, PushBaseContent baseContent)
            throws PushException;
 
    /**
     * 推送福利中心(版本号:1.5.1后)
     *
     * @param uid
     * @throws PushException
     */
    void pushWelfareCenter(Long uid, PushBaseContent baseContent) throws PushException;
 
    /**
     * 推送签到提醒
     *
     * @param uid
     * @throws PushException
     */
    void pushUserSignInNotification(Long uid, PushBaseContent baseContent) throws PushException;
 
 
    /**
     * 推送
     *
     * @param dto
     * @throws PushException
     */
    void push(PushContentDetailDTO dto) throws PushException;
 
}