From c338aa60df58bee9f4c25afedf94fe6930a119c1 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期三, 29 七月 2020 19:01:56 +0800 Subject: [PATCH] SpringContext中的循环任务优化,添加业务监控 --- fanli/src/main/java/com/yeshi/fanli/service/inter/push/HWPushService.java | 83 ++++++++++++++++++++++++++++++++++++++++- 1 files changed, 80 insertions(+), 3 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 984b89a..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,11 +1,88 @@ 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.exception.push.PushException; + +import java.util.List; + /** * 鍗庝负鎺ㄩ�佹湇鍔� - * - * @author Administrator * + * @author Administrator */ -public interface HWPushService extends BasePushService { +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鍙婁互鍚� 鎺ㄩ�亀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