Ver código fonte

更新

master
huangjiajun 5 dias atrás
pai
commit
8572b395b7
1 arquivos alterados com 2 adições e 0 exclusões
  1. +2
    -0
      app/svc/svc_redis.go

+ 2
- 0
app/svc/svc_redis.go Ver arquivo

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

Carregando…
Cancelar
Salvar