| | |
| | | package com.yeshi.fanli.service.inter.push;
|
| | |
|
| | | /**
|
| | | * 华为推送服务
|
| | | * |
| | | * @author Administrator
|
| | | *
|
| | | */
|
| | | public interface HWPushService extends BasePushService {
|
| | |
|
| | | }
|
| | | 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及以后 推送weex页面 |
| | | * |
| | | * @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; |
| | | |
| | | } |