Explorar el Código

更新

master
huangjiajun hace 5 días
padre
commit
8572b395b7
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. +2
    -0
      app/svc/svc_redis.go

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

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

Cargando…
Cancelar
Guardar