From 08d498ee2f3379075b604bdf1e64ae37ca6cd8dd Mon Sep 17 00:00:00 2001 From: xhxu Date: Mon, 9 Jan 2023 15:03:08 +0800 Subject: [PATCH] //app --- .../java/com/iformall/service/impl/WxAppinfoServiceImpl.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mallinkService/src/main/java/com/iformall/service/impl/WxAppinfoServiceImpl.java b/mallinkService/src/main/java/com/iformall/service/impl/WxAppinfoServiceImpl.java index a2fd805b3..7e5fe355c 100644 --- a/mallinkService/src/main/java/com/iformall/service/impl/WxAppinfoServiceImpl.java +++ b/mallinkService/src/main/java/com/iformall/service/impl/WxAppinfoServiceImpl.java @@ -242,6 +242,8 @@ public class WxAppinfoServiceImpl implements WxAppinfoService { private void deleteRedis(Long id){ WxAppinfo record = this.getById(id); if(record != null){ + String key = Constant.appinfoPrev + "only" + ":" + record.getAppId(); + RedisCacheUtils.removeCache(wxAppinfoRedisTemplate, key); String key1 = Constant.appinfoPrev + record.getAppId(); RedisCacheUtils.removeCache(wxAppinfoRedisTemplate, key1); String key2 = Constant.appinfoPrev + record.getId();