mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-24 02:16:16 +08:00
test: log add
This commit is contained in:
parent
e8763f32d0
commit
16b41f83fe
@ -2,6 +2,7 @@ package rpcclient
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/log"
|
||||||
|
|
||||||
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/config"
|
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/config"
|
||||||
discoveryRegistry "github.com/OpenIMSDK/Open-IM-Server/pkg/discoveryregistry"
|
discoveryRegistry "github.com/OpenIMSDK/Open-IM-Server/pkg/discoveryregistry"
|
||||||
@ -30,10 +31,12 @@ func (c *ConversationClient) GetSingleConversationRecvMsgOpt(ctx context.Context
|
|||||||
var req pbConversation.GetConversationReq
|
var req pbConversation.GetConversationReq
|
||||||
req.OwnerUserID = userID
|
req.OwnerUserID = userID
|
||||||
req.ConversationID = conversationID
|
req.ConversationID = conversationID
|
||||||
|
log.ZDebug(ctx, "GetSingleConversationRecvMsgOpt start", "req", req)
|
||||||
conversation, err := pbConversation.NewConversationClient(c.conn).GetConversation(ctx, &req)
|
conversation, err := pbConversation.NewConversationClient(c.conn).GetConversation(ctx, &req)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return 0, err
|
return 0, err
|
||||||
}
|
}
|
||||||
|
log.ZDebug(ctx, "GetSingleConversationRecvMsgOpt end", "req", req)
|
||||||
return conversation.GetConversation().RecvMsgOpt, err
|
return conversation.GetConversation().RecvMsgOpt, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user