public interface ICustomerController
Modifier and Type | Method and Description |
---|---|
org.springframework.http.ResponseEntity<Object> |
catChat(javax.servlet.http.HttpSession httpSession)
断开连接
|
org.springframework.http.ResponseEntity<Object> |
endChat(javax.servlet.http.HttpSession httpSession,
double score)
发送评分,结束会话
|
org.springframework.http.ResponseEntity<Object> |
getALlChated(javax.servlet.http.HttpSession httpSession)
从数据库获取所有的服务记录
|
org.springframework.http.ResponseEntity<Object> |
getAllChatMsg(javax.servlet.http.HttpSession httpSession)
获取所有消息的聊天记录
|
org.springframework.http.ResponseEntity<Object> |
getNewMsg(javax.servlet.http.HttpSession httpSession)
获取新消息列表
|
org.springframework.http.ResponseEntity<Object> |
isHaveNewMsg(javax.servlet.http.HttpSession session)
心跳包,查看是否有新消息
|
org.springframework.http.ResponseEntity<Object> |
requestServicer(javax.servlet.http.HttpSession httpSession)
请求一个客服
|
org.springframework.http.ResponseEntity<Object> |
sendMsg(javax.servlet.http.HttpSession httpSession,
ChatMessage chatMessage)
发送一条消息
|
org.springframework.http.ResponseEntity<Object> isHaveNewMsg(javax.servlet.http.HttpSession session)
session
- org.springframework.http.ResponseEntity<Object> getALlChated(javax.servlet.http.HttpSession httpSession)
httpSession
- org.springframework.http.ResponseEntity<Object> requestServicer(javax.servlet.http.HttpSession httpSession)
httpSession
- org.springframework.http.ResponseEntity<Object> getAllChatMsg(javax.servlet.http.HttpSession httpSession)
httpSession
- org.springframework.http.ResponseEntity<Object> getNewMsg(javax.servlet.http.HttpSession httpSession)
httpSession
- org.springframework.http.ResponseEntity<Object> sendMsg(javax.servlet.http.HttpSession httpSession, ChatMessage chatMessage)
httpSession
- chatMessage
- org.springframework.http.ResponseEntity<Object> catChat(javax.servlet.http.HttpSession httpSession)
httpSession
- org.springframework.http.ResponseEntity<Object> endChat(javax.servlet.http.HttpSession httpSession, double score)
httpSession
- score
- Copyright © 2019. All rights reserved.