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) } }