Browse Source

fix0926发版本-学生专辑曲目

Eric 1 year ago
parent
commit
d41eeee68f

+ 17 - 0
cooleshow-user/user-biz/src/main/java/com/yonge/cooleshow/biz/dal/service/im/ImGroupCoreService.java

@@ -169,4 +169,21 @@ public interface ImGroupCoreService {
      */
     void updateGroupMemberJoinStatus(List<Long> groupMemberIds, Boolean groupJoin);
 
+    /**
+     * 删除最近私聊消息
+     * @param userId 发送用户ID
+     * @param toUserId 接收用户ID
+     * @return Boolean
+     * @throws Exception Exception
+     */
+    Boolean deletePrivateRecentContact(String userId, String toUserId) throws Exception;
+
+    /**
+     * 删除最近群聊消息
+     * @param userId 发送用户ID
+     * @param groupId 群组ID
+     * @return Boolean
+     * @throws Exception Exception
+     */
+    Boolean deleteGroupRecentContact(String userId, String groupId) throws Exception;
 }

+ 26 - 0
cooleshow-user/user-biz/src/main/java/com/yonge/cooleshow/biz/dal/service/im/impl/ImGroupCoreServiceImpl.java

@@ -719,4 +719,30 @@ public class ImGroupCoreServiceImpl implements ImGroupCoreService {
 //                .update();
     }
 
+    /**
+     * 删除最近私聊消息
+     *
+     * @param userId   发送用户ID
+     * @param toUserId 接收用户ID
+     * @return Boolean
+     * @throws Exception Exception
+     */
+    @Override
+    public Boolean deletePrivateRecentContact(String userId, String toUserId) throws Exception {
+        return null;
+    }
+
+    /**
+     * 删除最近群聊消息
+     *
+     * @param userId  发送用户ID
+     * @param groupId 群组ID
+     * @return Boolean
+     * @throws Exception Exception
+     */
+    @Override
+    public Boolean deleteGroupRecentContact(String userId, String groupId) throws Exception {
+        return null;
+    }
+
 }