From dc5be7d38446f70e6ff86df311119c32b41fe7f8 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期六, 28 十一月 2020 16:37:05 +0800 Subject: [PATCH] 大淘客搜索接口升级 --- fanli/src/main/java/com/yeshi/fanli/service/inter/push/HWPushService.java | 146 +++++++++++++++++++++++------------------------- 1 files changed, 70 insertions(+), 76 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/push/HWPushService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/push/HWPushService.java index c0a7acc..a9af00c 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/inter/push/HWPushService.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/push/HWPushService.java @@ -1,94 +1,88 @@ package com.yeshi.fanli.service.inter.push; -import java.util.List; - +import com.yeshi.fanli.dto.push.PushBaseContent; +import com.yeshi.fanli.dto.push.PushContentDetailDTO; import com.yeshi.fanli.exception.push.PushException; + +import java.util.List; /** * 鍗庝负鎺ㄩ�佹湇鍔� - * - * @author Administrator * + * @author Administrator */ public interface HWPushService { - /** - * 鎺ㄩ�佸晢鍝� - * - * @param uid - * @param url - * @param title - * @param content - * @throws PushException - */ - void pushGoods(Long uid, Long auctionId, String title, String content, List<Integer> versionCodeList) - throws PushException; + /** + * 鎺ㄩ�佸晢鍝� + * + * @param uid + * @throws PushException + */ + void pushGoods(Long uid, Long auctionId, PushBaseContent baseContent) + throws PushException; - /** - * 鎺ㄩ�侀摼鎺� - * - * @param uid - * @param url - * @param title - * @param content - * @throws PushException - */ - void pushUrl(Long uid, String url, String title, String content, List<Integer> versionCodeList) - throws PushException; + /** + * 鎺ㄩ�侀摼鎺� + * + * @param uid + * @param url + * @throws PushException + */ + void pushUrl(Long uid, String url, PushBaseContent baseContent) + throws PushException; - /** - * 鎺ㄩ�佺珯鍐呬俊 - * - * @param uId - * @param title - * @param content - * @throws PushException - */ - void pushZNX(Long uId, String title, String content, List<Integer> versionCodeList) throws PushException; + /** + * 鎺ㄩ�佺珯鍐呬俊 + * + * @param uId + * @throws PushException + */ + void pushZNX(Long uId, PushBaseContent baseContent) throws PushException; - /** - * 閫傜敤鐗堟湰 1.4.8鍙婁互鍚� 鎺ㄩ�亀eex椤甸潰 - * - * @param uid - * @param title - * @param content - * @param weexUrl - * @throws PushException - */ - void pushWEEX(Long uid, String title, String content, String weexUrl, List<Integer> versionCodeList) - throws PushException; + /** + * 閫傜敤鐗堟湰 1.4.8鍙婁互鍚� 鎺ㄩ�亀eex椤甸潰 + * + * @param uid + * @param weexUrl + * @throws PushException + */ + void pushWEEX(Long uid, String weexUrl, PushBaseContent baseContent) + 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, List<Integer> versionCodeList) - 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 - * @param title - * @param content - * @throws PushException - */ - void pushWelfareCenter(Long uid, String title, String content, List<Integer> versionCodeList) throws PushException; + /** + * 鎺ㄩ�佺鍒╀腑蹇冿紙鐗堟湰鍙�:1.5.1鍚庯級 + * + * @param uid + * @throws PushException + */ + void pushWelfareCenter(Long uid, PushBaseContent baseContent) throws PushException; - /** - * 鎺ㄩ�佺鍒版彁閱� - * - * @param uid - * @param title - * @param content - * @param versions - * @throws PushException - */ - void pushUserSignInNotification(Long uid, String title, String content, List<Integer> versionCodeList) throws PushException; + /** + * 鎺ㄩ�佺鍒版彁閱� + * + * @param uid + * @throws PushException + */ + void pushUserSignInNotification(Long uid, PushBaseContent baseContent) throws PushException; + + + /** + * 鎺ㄩ�� + * + * @param dto + * @throws PushException + */ + void push(PushContentDetailDTO dto) throws PushException; } -- Gitblit v1.8.0