Commit 9ff49d29 by Shadow

修复修改attributes没有刷新缓存的问题

parent cef4d2bc
...@@ -395,7 +395,7 @@ public class ImClientServiceImpl extends BaseServiceImpl<ImClientMapper, ImClien ...@@ -395,7 +395,7 @@ public class ImClientServiceImpl extends BaseServiceImpl<ImClientMapper, ImClien
throw new BusinessException("用户不存在"); throw new BusinessException("用户不存在");
} }
targetClient.setAttributes(JSONObject.toJSONString(attributes)); targetClient.setAttributes(JSONObject.toJSONString(attributes));
deleteCacheImClient(appId, userId);
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