From 8c55f0313eb5886082b0565fb51be433ebbf4e34 Mon Sep 17 00:00:00 2001 From: wangqing <408564126@qq.com> Date: Mon, 4 Mar 2024 08:26:16 +0800 Subject: [PATCH] evict journal_id cache when comment update --- .../com/luoo/music/listener/CleanJournalQueryPageListener.java | 1 + 1 file changed, 1 insertion(+) diff --git a/luoo_music/src/main/java/com/luoo/music/listener/CleanJournalQueryPageListener.java b/luoo_music/src/main/java/com/luoo/music/listener/CleanJournalQueryPageListener.java index 9bd98b7..df60096 100644 --- a/luoo_music/src/main/java/com/luoo/music/listener/CleanJournalQueryPageListener.java +++ b/luoo_music/src/main/java/com/luoo/music/listener/CleanJournalQueryPageListener.java @@ -33,6 +33,7 @@ public class CleanJournalQueryPageListener { } String journalQueryPageKey = getJournalQueryPageKey(optional.get()); cacheChannel.evict(Constants.J2CACHE_REGION_JOURNAL_QUERY_PAGE, journalQueryPageKey); + cacheChannel.evict(Constants.J2CACHE_REGION_JOURNAL_ID,journalId); } private String getJournalQueryPageKey(Journal journal) {