From 5e7b0ed4a154ad067cbcf4aa1a1c7cce32f9864c Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期五, 26 四月 2024 18:02:17 +0800 Subject: [PATCH] 唯品会链接解析升级 --- fanli/src/main/java/com/yeshi/fanli/service/inter/push/HWPushService.java | 183 ++++++++++++++++++++++----------------------- 1 files changed, 89 insertions(+), 94 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..6983e0c 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,89 @@ -package com.yeshi.fanli.service.inter.push; - -import java.util.List; - -import com.yeshi.fanli.exception.push.PushException; - -/** - * 鍗庝负鎺ㄩ�佹湇鍔� - * - * @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 - * @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 title - * @param content - * @throws PushException - */ - void pushZNX(Long uId, String title, String content, List<Integer> versionCodeList) 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鍙婁互鍚� 鎺ㄩ�佺櫨宸濈綉椤� - * - * @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.5.1鍚庯級 - * - * @param uid - * @param title - * @param content - * @throws PushException - */ - void pushWelfareCenter(Long uid, String title, String content, List<Integer> versionCodeList) 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; - -} +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, String 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鍙婁互鍚� 鎺ㄩ�亀eex椤甸潰 + * + * @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; + +} -- Gitblit v1.8.0