From 5953f70fd53c8bbdf4fdf0c6b9307eff68d6fcaf Mon Sep 17 00:00:00 2001 From: yujian <yujian> Date: 星期一, 22 四月 2019 12:18:49 +0800 Subject: [PATCH] 新增定时推送:站内信、网页、百川、今日推荐 --- fanli/src/main/java/com/yeshi/fanli/service/inter/push/PushGoodsService.java | 25 +++++++++++++++++++++++-- 1 files changed, 23 insertions(+), 2 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/push/PushGoodsService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/push/PushGoodsService.java index 69ffc09..779a361 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/inter/push/PushGoodsService.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/push/PushGoodsService.java @@ -21,7 +21,7 @@ public int updateByPrimaryKey(PushGoods record) throws PushGoodsException; - public void save(PushGoods record, List<Long> goodsId) throws Exception; + public void save(PushGoods record, List<Long> goodsId) throws PushGoodsException,Exception; /** * 鎵归噺鍒犻櫎 @@ -61,6 +61,27 @@ * @throws PushGoodsException * @throws PushException */ - public void executePush(Long id) throws Exception, PushGoodsException, PushException; + public void executePush(PushGoods record) throws Exception, PushGoodsException, PushException; + + /** + * 瀹氭椂鎺ㄩ�佷换鍔� + * @return + */ + public List<PushGoods> listTask(); + + /** + * 瀹氭椂鎺ㄩ�佸鐞� + * @param record + */ + public void taskPush(PushGoods record); + + /** + * 鍚庣鎺ㄩ�� + * @param id + * @throws Exception + * @throws PushGoodsException + * @throws PushException + */ + public void handPush(Long id) throws Exception, PushGoodsException, PushException; } -- Gitblit v1.8.0