Commit 96b54e85 authored by iamhujiebin's avatar iamhujiebin

feat:去掉无用的打点

parent 5899b86f
...@@ -34,9 +34,9 @@ func SetJSON(model *domain.Model, key string, obj interface{}) (err error) { ...@@ -34,9 +34,9 @@ func SetJSON(model *domain.Model, key string, obj interface{}) (err error) {
// return err: may redisV8.Nil // return err: may redisV8.Nil
func GetJSON(model *domain.Model, key string, obj interface{}) (err error) { func GetJSON(model *domain.Model, key string, obj interface{}) (err error) {
var value []byte var value []byte
defer func() { //defer func() {
model.Log.Infof("GetJson key:%v,value:%s,obj:%v,err:%v", key, value, obj, err) // 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() value, err = model.RedisCluster.Get(model.Context, key).Bytes()
if err != nil { if err != nil {
// may redisV2.Nil // may redisV2.Nil
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment