Commit ec3e4e3f by giaogiao

退出登陆logout,清除设备token 同步redis

parent dab34983
......@@ -91,6 +91,10 @@ public class ImClientServiceImpl extends BaseServiceImpl<ImClientMapper, ImClien
.eq(ImClient::getId, curentClient.getId())
.set(ImClient::getDeviceToken, null)
);
if (update) {
// 清除新client的redis缓存
deleteCacheImClient(curentClient.getFkAppid(), curentClient.getClientId());
}
return update;
}
......
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