From 9d35ba657fa5e3add766405d76e3ff8c4dcd4ad4 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期六, 04 七月 2020 15:38:00 +0800
Subject: [PATCH] 多系统兼容优化

---
 fanli/src/main/java/com/yeshi/fanli/service/inter/push/VIVOPushService.java |  139 +++++++++++++++++++++------------------------
 1 files changed, 65 insertions(+), 74 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/push/VIVOPushService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/push/VIVOPushService.java
index 4fb91c6..edf0f10 100644
--- a/fanli/src/main/java/com/yeshi/fanli/service/inter/push/VIVOPushService.java
+++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/push/VIVOPushService.java
@@ -2,93 +2,84 @@
 
 import java.util.List;
 
+import com.yeshi.fanli.dto.push.PushBaseContent;
 import com.yeshi.fanli.exception.push.PushException;
 
 /**
  * 鍗庝负鎺ㄩ�佹湇鍔�
- * 
- * @author Administrator
  *
+ * @author Administrator
  */
 public interface VIVOPushService {
 
-	/**
-	 * 鎺ㄩ�佸晢鍝�
-	 * 
-	 * @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 content
+     * @throws PushException
+     */
+    void pushGoods(Long uid, Long auctionId, PushBaseContent content)
+            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 url
+     * @param content
+     * @throws PushException
+     */
+    void pushUrl(Long uid, String url, PushBaseContent content)
+            throws PushException;
 
-	/**
-	 * 鎺ㄩ�佺珯鍐呬俊
-	 * 
-	 * @param uId
-	 * @param title
-	 * @param content
-	 * @throws PushException
-	 */
-	void pushZNX(Long uId, String title, String content, List<Integer> versionCodeList) throws PushException;
+    /**
+     * 鎺ㄩ�佺珯鍐呬俊
+     *
+     * @param uId
+     * @param content
+     * @throws PushException
+     */
+    void pushZNX(Long uId, PushBaseContent content) throws PushException;
 
-	/**
-	 * 閫傜敤鐗堟湰 1.4.8鍙婁互鍚� 鎺ㄩ�亀eex椤甸潰
-	 * 
-	 * @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鍙婁互鍚� 鎺ㄩ�亀eex椤甸潰
+     *
+     * @param uid
+     * @param content
+     * @param weexUrl
+     * @throws PushException
+     */
+    void pushWEEX(Long uid,  String weexUrl,  PushBaseContent content)
+            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.4.8鍙婁互鍚� 鎺ㄩ�佺櫨宸濈綉椤�
+     *
+     * @param uid
+     * @param content
+     * @param url
+     * @throws PushException
+     */
+    void pushBaiChuanUrl(Long uid, String url, PushBaseContent content)
+            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;
+    /**
+     * 鎺ㄩ�佺鍒╀腑蹇冿紙鐗堟湰鍙�:1.5.1鍚庯級
+     *
+     * @param uid
+     * @param content
+     * @throws PushException
+     */
+    void pushWelfareCenter(Long uid, PushBaseContent content) 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;
+    /**
+     * 鎺ㄩ�佺鍒版彁閱�
+     *
+     * @param uid
+     * @param content
+     * @throws PushException
+     */
+    void pushUserSignInNotification(Long uid, PushBaseContent content) throws PushException;
 
 }

--
Gitblit v1.8.0