This commit is contained in:
meixiongfeng 2022-12-16 11:31:28 +08:00
commit 7cfe55f66b
2 changed files with 2 additions and 3 deletions

View File

@ -4,7 +4,6 @@ import (
"context" "context"
"go_dreamfactory/comm" "go_dreamfactory/comm"
"go_dreamfactory/lego/core" "go_dreamfactory/lego/core"
"go_dreamfactory/lego/sys/log"
"go_dreamfactory/lego/sys/redis" "go_dreamfactory/lego/sys/redis"
"go_dreamfactory/modules" "go_dreamfactory/modules"
"go_dreamfactory/pb" "go_dreamfactory/pb"
@ -48,7 +47,7 @@ func (this *ModelFriend) GetFriend(uid string) *pb.DBFriend {
return nil return nil
} }
} }
log.Error("未获得好友数据", log.Fields{"uid": uid}) // log.Error("未获得好友数据", log.Fields{"uid": uid})
} }
} else { } else {
friend := &pb.DBFriend{} friend := &pb.DBFriend{}

View File

@ -122,7 +122,7 @@ func (this *Friend) RpcFriendDB(ctx context.Context, req *pb.RPCGeneralReqA1, re
return nil return nil
} }
} else { } else {
log.Error("未获得好友数据", log.Fields{"uid": req.Param1, "err": err}) // log.Error("未获得好友数据", log.Fields{"uid": req.Param1, "err": err})
} }
} }
*reply = *friend *reply = *friend