From d8359ddb48dab5cc797a9d552e11fde571f4920c Mon Sep 17 00:00:00 2001 From: yujian <yujian@123.com> Date: 星期二, 27 八月 2019 12:32:46 +0800 Subject: [PATCH] Merge branch 'div' of ssh://193.112.35.168:29418/fanli-server into div --- fanli/src/main/java/com/yeshi/fanli/service/inter/push/PushService.java | 71 ++++++++++++++++++++++++++++++++++- 1 files changed, 68 insertions(+), 3 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/push/PushService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/push/PushService.java index c818c00..dc5fd13 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/inter/push/PushService.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/push/PushService.java @@ -1,5 +1,7 @@ package com.yeshi.fanli.service.inter.push; +import java.util.List; + import com.yeshi.fanli.exception.PushException; public interface PushService { @@ -10,9 +12,12 @@ * @param url * @param title * @param content + * @param listIOS + * @param listAndroid * @throws PushException */ - void pushGoods(Long uid, String url, String title, String content) throws PushException; + void pushGoods(Long uid, String title, String content, String url, List<String> listIOS, List<String> listAndroid) + throws PushException; /** * 鎺ㄩ�侀摼鎺� @@ -21,9 +26,12 @@ * @param url * @param title * @param content + * @param listIOS + * @param listAndroid * @throws PushException */ - void pushUrl(Long uid, String url, String title, String content) throws PushException; + void pushUrl(Long uid, String title, String content, String url, List<String> listIOS, List<String> listAndroid) + throws PushException; /** * 鎺ㄩ�佺珯鍐呬俊 @@ -31,7 +39,64 @@ * @param uId * @param title * @param content + * @param listIOS + * @param listAndroid * @throws PushException */ - void pushZNX(Long uId, String title, String content) throws PushException; + void pushZNX(Long uId, String title, String content, List<String> listIOS, List<String> listAndroid) + throws PushException; + + /** + * 閫傜敤鐗堟湰 1.4.8鍙婁互鍚� 鎺ㄩ�亀eex椤甸潰 + * + * @param uid + * @param title + * @param content + * @param weexUrl + * @param listIOS + * @param listAndroid + * @throws PushException + */ + void pushWEEX(Long uid, String title, String content, String weexUrl, List<String> listIOS, + List<String> listAndroid) throws PushException; + + /** + * 閫傜敤鐗堟湰 1.4.8鍙婁互鍚� 鎺ㄩ�佺櫨宸濈綉椤� + * + * @param uid + * @param title + * @param content + * @param url + * @param listIOS + * @param listAndroid + * @throws PushException + */ + void pushBaiChuanUrl(Long uid, String title, String content, String url, List<String> listIOS, + List<String> listAndroid) throws PushException; + + /** + * 鎺ㄩ�佺鍒╀腑蹇� + * + * @param uid + * @param title + * @param content + * @param listIOS + * @param listAndroid + * @throws PushException + */ + void pushWelfareCenter(Long uid, String title, String content, List<String> listIOS, List<String> listAndroid) + throws PushException; + + /** + * 鎺ㄩ�佺鍒伴�氱煡 + * + * @param uid + * @param title + * @param content + * @param listIOS + * @param listAndroid + * @throws PushException + */ + void pushUserSignInNotification(Long uid, String title, String content, List<String> listIOS, + List<String> listAndroid) throws PushException; } -- Gitblit v1.8.0