Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wecloud_im_server
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hewei
wecloud_im_server
Commits
3d865a7b
Commit
3d865a7b
authored
Oct 12, 2022
by
Future
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
会员逻辑日志
parent
ce3e61ab
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
core/src/main/java/com/wecloud/im/action/NormalChatAction.java
+2
-0
core/src/main/java/com/wecloud/im/service/impl/ImClientServiceImpl.java
+1
-0
No files found.
core/src/main/java/com/wecloud/im/action/NormalChatAction.java
View file @
3d865a7b
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
;
...
...
core/src/main/java/com/wecloud/im/service/impl/ImClientServiceImpl.java
View file @
3d865a7b
...
...
@@ -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
);
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment