Modifier and Type | Method and Description |
---|---|
ChatMessage |
Chat.getCustomerNewMsgList()
获取客户的 未读消息
|
ChatMessage |
Chat.getServicerNewMsgList() |
Modifier and Type | Method and Description |
---|---|
List<ChatMessage> |
Chat.getCuserNewMsgList() |
List<ChatMessage> |
Chat.getMsgList() |
List<ChatMessage> |
Chat.getSuserNewMsgList() |
Modifier and Type | Method and Description |
---|---|
void |
Chat.sendMsgToSer(ChatMessage chatMessage)
客户 -> 客服
|
void |
Chat.sendMsgToUser(ChatMessage chatMessage)
客服 -> 客户
|
void |
Servicer.sendMsgToUserChat(Chat chat,
ChatMessage chatMessage) |
Modifier and Type | Method and Description |
---|---|
void |
Chat.setCuserNewMsgList(List<ChatMessage> cuserNewMsgList) |
void |
Chat.setMsgList(List<ChatMessage> msgList) |
void |
Chat.setSuserNewMsgList(List<ChatMessage> suserNewMsgList) |
Modifier and Type | Method and Description |
---|---|
ChatMessage |
ICustomerCommService.getNewMessage(Chat chat)
返回一条新消息
|
ChatMessage |
IServicerCommService.getNewMsg(Chat chat)
返回客服,此会话的一条新消息
|
Modifier and Type | Method and Description |
---|---|
List<ChatMessage> |
ICenterCommService.getChatAllMsg(Chat chat)
获取该 system中的 某chat的所有聊天记录
|
List<ChatMessage> |
ICustomerCommService.getMsgList(Chat chat)
获取所有聊天记录
|
Modifier and Type | Method and Description |
---|---|
void |
ICustomerCommService.sendMessage(Chat chat,
ChatMessage newMsg)
发送一条消息给客服
|
void |
IServicerCommService.sendMsg(Servicer servicer,
Chat chat,
ChatMessage chatMessage)
需求:一个客服,给一个用户的会话(其实前期设计的时候应该给User也包装下),发送一条消息
|
Modifier and Type | Method and Description |
---|---|
ChatMessage |
CustomerCommServiceImpl.getNewMessage(Chat chat)
获取未读聊天记录
|
ChatMessage |
ServicerCommServiceImpl.getNewMsg(Chat chat)
获取该会话的,客服新消息
|
Modifier and Type | Method and Description |
---|---|
List<ChatMessage> |
CenterCommServiceImpl.getChatAllMsg(Chat chat)
获取该 system中的 某chat的所有聊天记录
|
List<ChatMessage> |
CustomerCommServiceImpl.getMsgList(Chat chat)
获取所有聊天记录
|
Modifier and Type | Method and Description |
---|---|
void |
CustomerCommServiceImpl.sendMessage(Chat chat,
ChatMessage newMsg)
发送一条消息给客服
|
void |
ServicerCommServiceImpl.sendMsg(Servicer servicer,
Chat chat,
ChatMessage chatMessage)
需求:一个客服,给一个用户的会话(其实前期设计的时候应该给User也包装下),发送一条消息
|
Modifier and Type | Method and Description |
---|---|
org.springframework.http.ResponseEntity<Object> |
ICustomerController.sendMsg(javax.servlet.http.HttpSession httpSession,
ChatMessage chatMessage)
发送一条消息
|
org.springframework.http.ResponseEntity<Object> |
IServicerController.sendNewMsg(javax.servlet.http.HttpSession httpSession,
String uid,
ChatMessage chatMessage)
发送一条新消息
|
Modifier and Type | Method and Description |
---|---|
org.springframework.http.ResponseEntity<Object> |
CustomerControllerImpl.sendMsg(javax.servlet.http.HttpSession httpSession,
ChatMessage chatMessage)
发送一条消息
|
org.springframework.http.ResponseEntity<Object> |
ServicerControllerImpl.sendNewMsg(javax.servlet.http.HttpSession httpSession,
String uid,
ChatMessage chatMessage)
发送一条新消息
|
Copyright © 2019. All rights reserved.