public interface ICustomerCommService
Modifier and Type | Method and Description |
---|---|
void |
catService(Chat chat)
断开连接,还未评论。
|
void |
endChat(Chat chat,
double score)
用户进行评分,并结束掉此会话!!
|
List<ChatMessage> |
getMsgList(Chat chat)
获取所有聊天记录
|
ChatMessage |
getNewMessage(Chat chat)
返回一条新消息
|
Chat |
requestService(User user)
请求服务
|
void |
sendMessage(Chat chat,
ChatMessage newMsg)
发送一条消息给客服
|
Chat requestService(User user) throws Exception
user
- Exception
List<ChatMessage> getMsgList(Chat chat) throws Exception
chat
- 聊天会话对象Exception
ChatMessage getNewMessage(Chat chat) throws Exception
chat
- Exception
void sendMessage(Chat chat, ChatMessage newMsg) throws Exception
chat
- newMsg
- Exception
void catService(Chat chat) throws Exception
chat
- Exception
Copyright © 2019. All rights reserved.