请求聊天总数 设置已读改为websocket模式
This commit is contained in:
parent
d12e4abdfb
commit
4c0c2f5ef0
@ -3,6 +3,7 @@ package com.dd.admin.business.webSocket.handler;
|
||||
import com.dd.admin.business.chat.service.ChatService;
|
||||
import com.dd.admin.business.webSocket.MsgHandlerInterface;
|
||||
import com.dd.admin.business.webSocket.util.TioUtil;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
@ -13,7 +14,8 @@ import java.util.Map;
|
||||
|
||||
@Slf4j
|
||||
@Service("8")
|
||||
public class GetReadCoutMessageHandler implements MsgHandlerInterface {
|
||||
@ApiModel("获取未读总数Handler")
|
||||
public class GetReadCountMessageHandler implements MsgHandlerInterface {
|
||||
@Autowired
|
||||
ChatService chatService;
|
||||
@Override
|
@ -3,6 +3,7 @@ package com.dd.admin.business.webSocket.handler;
|
||||
import com.dd.admin.business.chat.service.ChatService;
|
||||
import com.dd.admin.business.webSocket.MsgHandlerInterface;
|
||||
import com.dd.admin.business.webSocket.util.TioUtil;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Component;
|
||||
@ -14,6 +15,7 @@ import java.util.Map;
|
||||
|
||||
@Slf4j
|
||||
@Service("7")
|
||||
@ApiModel("读取消息Handler")
|
||||
public class ReadMessageHandler implements MsgHandlerInterface {
|
||||
@Autowired
|
||||
ChatService chatService;
|
||||
|
1671
src/sql/ddxhs.sql
1671
src/sql/ddxhs.sql
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user