From a7454d8a6325566753358b37ffabfae2faa0ca7f Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期三, 28 四月 2021 19:46:49 +0800
Subject: [PATCH] 拼多多授权调整,支持小程序跳转
---
fanli/src/main/java/com/yeshi/fanli/service/inter/msg/UserMsgReadStateService.java | 226 +++++++++++++++++++++++++++++++-------------------------
1 files changed, 124 insertions(+), 102 deletions(-)
diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/msg/UserMsgReadStateService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/msg/UserMsgReadStateService.java
index 8dbd9f1..68fbcc9 100644
--- a/fanli/src/main/java/com/yeshi/fanli/service/inter/msg/UserMsgReadStateService.java
+++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/msg/UserMsgReadStateService.java
@@ -1,102 +1,124 @@
-package com.yeshi.fanli.service.inter.msg;
-
-import com.yeshi.fanli.entity.bus.msg.UserMsgUnReadNum;
-
-/**
- * 娑堟伅鏈鏈嶅姟
- *
- * @author Administrator
- *
- */
-public interface UserMsgReadStateService {
-
- /**
- * 澧炲姞璁㈠崟娑堟伅鏈鏁�
- *
- * @param uid
- * @param count
- */
- public void addOrderMsgUnReadCount(Long uid, int count);
-
- /**
- * 澧炲姞璐﹀彿娑堟伅鏈鏁�
- *
- * @param uid
- * @param count
- */
- public void addAccountMsgUnReadCount(Long uid, int count);
-
- /**
- * 澧炲姞璧勯噾娑堟伅鏈鏁�
- *
- * @param uid
- * @param count
- */
- public void addMoneyMsgUnReadCount(Long uid, int count);
-
- /**
- * 澧炲姞閭�璇锋秷鎭湭璇绘暟
- *
- * @param uid
- * @param count
- */
- public void addInviteMsgUnReadCount(Long uid, int count);
-
- /**
- * 澧炲姞绯荤粺娑堟伅鏈鏁�
- *
- * @param uid
- * @param count
- */
- public void addSystemMsgUnReadCount(Long uid, int count);
-
- /**
- * 鑾峰彇鐢ㄦ埛鎵�鏈夋湭璇绘秷鎭暟
- *
- * @param uid
- * @return
- */
- public UserMsgUnReadNum getReadStateByUid(Long uid);
-
- /**
- * 璁剧疆鎵�鏈夋秷鎭凡璇�
- *
- * @param uid
- */
- public void setAllMsgRead(Long uid);
-
- /**
- * 璇昏鍗曟秷鎭�
- *
- * @param uid
- */
- public void readOrderMsg(Long uid);
-
- /**
- * 璇昏处鍙锋秷鎭�
- *
- * @param uid
- */
- public void readAccountMsg(Long uid);
-
- /**
- * 璇昏祫閲戞秷鎭�
- *
- * @param uid
- */
- public void readMoneyMsg(Long uid);
-
- /**
- * 璇婚個璇锋秷鎭�
- *
- * @param uid
- */
- public void readInviteMsg(Long uid);
-
- /**
- * 璇荤郴缁熸秷鎭�
- *
- * @param uid
- */
- public void readUserSystemMsg(Long uid);
-}
+package com.yeshi.fanli.service.inter.msg;
+
+import com.yeshi.fanli.entity.bus.msg.UserMsgUnReadNum;
+
+/**
+ * 娑堟伅鏈鏈嶅姟
+ *
+ * @author Administrator
+ *
+ */
+public interface UserMsgReadStateService {
+
+ /**
+ * 澧炲姞璁㈠崟娑堟伅鏈鏁�
+ *
+ * @param uid
+ * @param count
+ */
+ public void addOrderMsgUnReadCount(Long uid, int count);
+
+ /**
+ * 澧炲姞璐﹀彿娑堟伅鏈鏁�
+ *
+ * @param uid
+ * @param count
+ */
+ public void addAccountMsgUnReadCount(Long uid, int count);
+
+ /**
+ * 澧炲姞璧勯噾娑堟伅鏈鏁�
+ *
+ * @param uid
+ * @param count
+ */
+ public void addMoneyMsgUnReadCount(Long uid, int count);
+
+ /**
+ * 澧炲姞閭�璇锋秷鎭湭璇绘暟
+ *
+ * @param uid
+ * @param count
+ */
+ public void addInviteMsgUnReadCount(Long uid, int count);
+
+ /**
+ * 澧炲姞绯荤粺娑堟伅鏈鏁�
+ *
+ * @param uid
+ * @param count
+ */
+ public void addSystemMsgUnReadCount(Long uid, int count);
+
+ /**
+ * 澧炲姞鍏朵粬娑堟伅鏈鏁�
+ *
+ * @param uid
+ * @param count
+ */
+ public void addOtherMsgUnReadCount(Long uid, int count);
+
+ /**
+ * 鑾峰彇鐢ㄦ埛鎵�鏈夋湭璇绘秷鎭暟
+ *
+ * @param uid
+ * @return
+ */
+ public UserMsgUnReadNum getReadStateByUid(Long uid);
+
+ /**
+ * 璁剧疆鎵�鏈夋秷鎭凡璇�
+ *
+ * @param uid
+ */
+ public void setAllMsgRead(Long uid);
+
+ /**
+ * 璇昏鍗曟秷鎭�
+ *
+ * @param uid
+ */
+ public void readOrderMsg(Long uid);
+
+ /**
+ * 璇昏处鍙锋秷鎭�
+ *
+ * @param uid
+ */
+ public void readAccountMsg(Long uid);
+
+ /**
+ * 璇昏祫閲戞秷鎭�
+ *
+ * @param uid
+ */
+ public void readMoneyMsg(Long uid);
+
+ /**
+ * 璇婚個璇锋秷鎭�
+ *
+ * @param uid
+ */
+ public void readInviteMsg(Long uid);
+
+ /**
+ * 璇荤郴缁熸秷鎭�
+ *
+ * @param uid
+ */
+ public void readUserSystemMsg(Long uid);
+
+ /**
+ * 璇诲叾浠栨秷鎭�
+ *
+ * @param uid
+ */
+ public void readOtherMsg(Long uid);
+
+ /**
+ * 淇敼
+ *
+ * @param num
+ */
+ public void updateSelective(UserMsgUnReadNum num);
+}
--
Gitblit v1.8.0