admin
2020-07-14 eec7e789a87863c25d92c10ad5dfc22ad80c448d
fanli/src/main/java/com/yeshi/fanli/service/inter/push/HWPushService.java
@@ -1,11 +1,81 @@
package com.yeshi.fanli.service.inter.push;
import com.yeshi.fanli.dto.push.PushBaseContent;
import com.yeshi.fanli.exception.push.PushException;
import java.util.List;
/**
 * 华为推送服务
 * 
 * @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及以后 推送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;
}