admin
2020-05-06 24a8d17e007545f7426c48352109aa1a9c6587ee
fanli/src/main/java/com/yeshi/fanli/service/inter/push/HWPushService.java
@@ -1,11 +1,94 @@
package com.yeshi.fanli.service.inter.push;
import java.util.List;
import com.yeshi.fanli.exception.push.PushException;
/**
 * 华为推送服务
 * 
 * @author Administrator
 *
 */
public interface HWPushService extends BasePushService {
public interface HWPushService {
   /**
    * 推送商品
    *
    * @param uid
    * @param url
    * @param title
    * @param content
    * @throws PushException
    */
   void pushGoods(Long uid, Long auctionId, String title, String content, List<Integer> versionCodeList)
         throws PushException;
   /**
    * 推送链接
    *
    * @param uid
    * @param url
    * @param title
    * @param content
    * @throws PushException
    */
   void pushUrl(Long uid, String url, String title, String content, List<Integer> versionCodeList)
         throws PushException;
   /**
    * 推送站内信
    *
    * @param uId
    * @param title
    * @param content
    * @throws PushException
    */
   void pushZNX(Long uId, String title, String content, List<Integer> versionCodeList) throws PushException;
   /**
    * 适用版本 1.4.8及以后 推送weex页面
    *
    * @param uid
    * @param title
    * @param content
    * @param weexUrl
    * @throws PushException
    */
   void pushWEEX(Long uid, String title, String content, String weexUrl, List<Integer> versionCodeList)
         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, List<Integer> versionCodeList)
         throws PushException;
   /**
    * 推送福利中心(版本号:1.5.1后)
    *
    * @param uid
    * @param title
    * @param content
    * @throws PushException
    */
   void pushWelfareCenter(Long uid, String title, String content, List<Integer> versionCodeList) throws PushException;
   /**
    * 推送签到提醒
    *
    * @param uid
    * @param title
    * @param content
    * @param versions
    * @throws PushException
    */
   void pushUserSignInNotification(Long uid, String title, String content,  List<Integer> versionCodeList) throws PushException;
}