移动端聊天实现
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
<java.version>1.8</java.version>
|
||||
</properties>
|
||||
|
||||
<artifactId>service</artifactId>
|
||||
<artifactId>im-service</artifactId>
|
||||
|
||||
<dependencies>
|
||||
<!-- rabbitmq -->
|
||||
@@ -84,15 +84,10 @@
|
||||
<!-- common -->
|
||||
<dependency>
|
||||
<groupId>com.lld</groupId>
|
||||
<artifactId>common</artifactId>
|
||||
<artifactId>im-common</artifactId>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.lld</groupId>
|
||||
<artifactId>im-system</artifactId>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
|
||||
@@ -42,7 +42,7 @@ public class ConversationController {
|
||||
|
||||
@RequestMapping("/syncConversationList")
|
||||
public ResponseVO syncFriendShipList(@RequestBody @Validated SyncReq req,Integer appId) {
|
||||
req.setAppId(appId);
|
||||
// req.setAppId(appId);
|
||||
return conversationService.syncConversationSet(req);
|
||||
}
|
||||
|
||||
|
||||
@@ -181,9 +181,11 @@ public class ConversationService {
|
||||
queryWrapper.last(" limit " + req.getMaxLimit());
|
||||
queryWrapper.orderByAsc("sequence");
|
||||
|
||||
|
||||
log.info("============================= syncConversationSet ========================");
|
||||
log.info("============================= syncConversationSet ========================");
|
||||
log.info("============================= syncConversationSet ========================");
|
||||
|
||||
log.info(req.toString());
|
||||
|
||||
List<ImConversationSetEntity> list = imConversationSetMapper
|
||||
|
||||
@@ -75,6 +75,9 @@ public class ChatOperateReceiver {
|
||||
//消息接收确认
|
||||
MessageReadedContent messageContent
|
||||
= jsonObject.toJavaObject(MessageReadedContent.class);
|
||||
|
||||
logger.error("==============服务端接收到1106的信号:{}",messageContent);
|
||||
|
||||
messageSyncService.readMark(messageContent);
|
||||
}else if (Objects.equals(command, MessageCommand.MSG_RECALL.getCommand())) {
|
||||
// 撤回消息
|
||||
|
||||
@@ -29,7 +29,7 @@ import java.util.concurrent.TimeUnit;
|
||||
|
||||
/**
|
||||
* @description:
|
||||
* @author: lld
|
||||
* @author: rowger
|
||||
* @version: 1.0
|
||||
*/
|
||||
@Service
|
||||
@@ -155,7 +155,7 @@ public class MessageStoreService {
|
||||
* @description: 存储单人离线消息
|
||||
* @param
|
||||
* @return void
|
||||
* @author lld
|
||||
* @author lld
|
||||
*/
|
||||
public void storeOfflineMessage(OfflineMessageContent offlineMessage){
|
||||
|
||||
|
||||
Reference in New Issue
Block a user