Commit 0ea164f0 by Future

日志系统

parent afec54c8
...@@ -94,11 +94,13 @@ public class NormalChatAction { ...@@ -94,11 +94,13 @@ public class NormalChatAction {
@ActionMapping("/normal/send") @ActionMapping("/normal/send")
@ApiOperation("普通消息发送") @ApiOperation("普通消息发送")
public void sendMsg(ActionRequest request, ChatContentVo data, String reqId) { public void sendMsg(ActionRequest request, ChatContentVo data, String reqId) {
log.info("-1");
ImConversationQueryVo conversation = ehcacheService.getEhCacheConversation(data.getToConversation()); ImConversationQueryVo conversation = ehcacheService.getEhCacheConversation(data.getToConversation());
if (conversation == null) { if (conversation == null) {
log.warn("会reqId: {} ,会话id: {}db中不存在", reqId, data.getToConversation()); log.warn("会reqId: {} ,会话id: {}db中不存在", reqId, data.getToConversation());
return; return;
} }
log.info("0");
// 查询发送者client // 查询发送者client
ImClient imClientSender = ehcacheService.getEhCacheClient(request.getSenderClientId()); ImClient imClientSender = ehcacheService.getEhCacheClient(request.getSenderClientId());
if (imClientSender == null) { if (imClientSender == null) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment