Commit 8d098c65 by Shadow

fixed bug

parent 2ded3b68
...@@ -404,8 +404,8 @@ public class ImClientServiceImpl extends BaseServiceImpl<ImClientMapper, ImClien ...@@ -404,8 +404,8 @@ public class ImClientServiceImpl extends BaseServiceImpl<ImClientMapper, ImClien
} }
targetClient.setAttributes(JSONObject.toJSONString(attributes)); targetClient.setAttributes(JSONObject.toJSONString(attributes));
// 清除client的redis缓存 // 清除client的redis缓存
deleteCacheImClient(targetClient.getFkAppid(), targetClient.getClientId()); redisUtils.delKey("cache" + targetClient.getId());
deleteCacheImClient(targetClient.getId()); redisUtils.delKey("cache" + targetClient.getFkAppid() + targetClient.getClientId());
return this.updateById(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