Browse Source

更新

master
huangjiajun 3 months ago
parent
commit
8572b395b7
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      app/svc/svc_redis.go

+ 2
- 0
app/svc/svc_redis.go View File

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

Loading…
Cancel
Save