瀏覽代碼

更新

master
huangjiajun 5 天之前
父節點
當前提交
8572b395b7
共有 1 個檔案被更改,包括 2 行新增0 行删除
  1. +2
    -0
      app/svc/svc_redis.go

+ 2
- 0
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)
}
}

Loading…
取消
儲存