From 8572b395b743519ea448b21851638a2247447412 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Sat, 14 Sep 2024 17:18:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/svc/svc_redis.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/svc/svc_redis.go b/app/svc/svc_redis.go index a106438..10eab87 100644 --- a/app/svc/svc_redis.go +++ b/app/svc/svc_redis.go @@ -18,5 +18,7 @@ func ClearAllRedis(c *gin.Context, masterId string) { for _, v := range str { key1 := fmt.Sprintf("%s:cfg_cache:%s", masterId, v) cache.Del(key1) + key2 := fmt.Sprintf("%s:cfg_cache:%s", "", v) + cache.Del(key2) } }