diff --git a/domain/cache/modelRedis.go b/domain/cache/modelRedis.go index 00d326edac498f6f7766f51ac30aa3d599ae2838..a1d6850b527163998b28e124f7f4a21c5225e689 100644 --- a/domain/cache/modelRedis.go +++ b/domain/cache/modelRedis.go @@ -34,9 +34,9 @@ func SetJSON(model *domain.Model, key string, obj interface{}) (err error) { // return err: may redisV8.Nil func GetJSON(model *domain.Model, key string, obj interface{}) (err error) { var value []byte - defer func() { - model.Log.Infof("GetJson key:%v,value:%s,obj:%v,err:%v", key, value, obj, err) - }() + //defer func() { + // model.Log.Infof("GetJson key:%v,value:%s,obj:%v,err:%v", key, value, obj, err) + //}() value, err = model.RedisCluster.Get(model.Context, key).Bytes() if err != nil { // may redisV2.Nil