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/BasePushService.java | 154 +++++++++++++++++++++++++++----------------------- 1 files changed, 83 insertions(+), 71 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/push/BasePushService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/push/BasePushService.java index 659b636..04c8676 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/inter/push/BasePushService.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/push/BasePushService.java @@ -1,71 +1,83 @@ -package com.yeshi.fanli.service.inter.push; - -import com.yeshi.fanli.entity.bus.user.AccountMessage; -import com.yeshi.fanli.entity.system.SystemZnx; -import com.yeshi.fanli.exception.PushException; - -public interface BasePushService { - /** - * 鎺ㄩ�佸晢鍝� - * - * @param uid - * @param url - * @param title - * @param content - * @throws PushException - */ - void pushGoods(Long uid, Long auctionId, String title, String content, String versions) throws PushException; - - /** - * 鎺ㄩ�侀摼鎺� - * - * @param uid - * @param url - * @param title - * @param content - * @throws PushException - */ - void pushUrl(Long uid, String url, String title, String content, String versions) throws PushException; - - /** - * 鎺ㄩ�佺珯鍐呬俊 - * - * @param uId - * @param title - * @param content - * @throws PushException - */ - void pushZNX(Long uId, AccountMessage msg, SystemZnx systemZNX, String versions) 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, String versions) 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, String versions) throws PushException; - - /** - * 鎺ㄩ�佺鍒╀腑蹇冿紙鐗堟湰鍙�:1.5.1鍚庯級 - * - * @param uid - * @param title - * @param content - * @throws PushException - */ - void pushWelfareCenter(Long uid, String title, String content, String versions) throws PushException; -} +package com.yeshi.fanli.service.inter.push; + +import com.yeshi.fanli.entity.SystemEnum; +import com.yeshi.fanli.entity.bus.user.AccountMessage; +import com.yeshi.fanli.entity.system.SystemZnx; +import com.yeshi.fanli.exception.push.PushException; + +public interface BasePushService { + /** + * 鎺ㄩ�佸晢鍝� + * + * @param uid + * @param url + * @param title + * @param content + * @throws PushException + */ + void pushGoods(Long uid, String auctionId, String title, String content, String versions, SystemEnum system) throws PushException; + + /** + * 鎺ㄩ�侀摼鎺� + * + * @param uid + * @param url + * @param title + * @param content + * @throws PushException + */ + void pushUrl(Long uid, String url, String title, String content, String versions, SystemEnum system) throws PushException; + + /** + * 鎺ㄩ�佺珯鍐呬俊 + * + * @param uId + * @param title + * @param content + * @throws PushException + */ + void pushZNX(Long uId, AccountMessage msg, SystemZnx systemZNX, String versions, SystemEnum system) 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, String versions, SystemEnum system) 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, String versions, SystemEnum system) throws PushException; + + /** + * 鎺ㄩ�佺鍒╀腑蹇冿紙鐗堟湰鍙�:1.5.1鍚庯級 + * + * @param uid + * @param title + * @param content + * @throws PushException + */ + void pushWelfareCenter(Long uid, String title, String content, String versions, SystemEnum system) throws PushException; + + /** + * 鎺ㄩ�佺敤鎴风鍒� + * + * @param uid + * @param title + * @param content + * @param versions + * @throws PushException + */ + void pushUserSignInNotification(Long uid, String title, String content, String versions, SystemEnum system) throws PushException; +} -- Gitblit v1.8.0