|
@@ -18,5 +18,7 @@ func ClearAllRedis(c *gin.Context, masterId string) { |
|
|
for _, v := range str { |
|
|
for _, v := range str { |
|
|
key1 := fmt.Sprintf("%s:cfg_cache:%s", masterId, v) |
|
|
key1 := fmt.Sprintf("%s:cfg_cache:%s", masterId, v) |
|
|
cache.Del(key1) |
|
|
cache.Del(key1) |
|
|
|
|
|
key2 := fmt.Sprintf("%s:cfg_cache:%s", "", v) |
|
|
|
|
|
cache.Del(key2) |
|
|
} |
|
|
} |
|
|
} |
|
|
} |