浏览代码

更新

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

正在加载...
取消
保存