Commit 3d865a7b by Future

会员逻辑日志

parent ce3e61ab
package com.wecloud.im.action;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.google.common.collect.Lists;
......@@ -102,6 +103,7 @@ public class NormalChatAction {
}
// 查询发送者client
ImClient imClientSender = ehcacheService.getEhCacheClient(request.getSenderClientId());
log.info("imClientSender {}", JSON.toJSONString(imClientSender));
if (imClientSender == null) {
log.warn("根据senderClientId: {} 查找不到 imClientSender!", request.getSenderClientId());
return;
......
......@@ -437,6 +437,7 @@ public class ImClientServiceImpl extends BaseServiceImpl<ImClientMapper, ImClien
// 清除client的redis缓存
redisUtils.delKey("cache" + targetClient.getId());
redisUtils.delKey("cache" + targetClient.getFkAppid() + targetClient.getClientId());
this.deleteCacheImClient(targetClient);
return this.updateById(targetClient);
}
}
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