From 668f213974f49e4de0836a81016f046d822c12ec Mon Sep 17 00:00:00 2001 From: withchao <993506633@qq.com> Date: Fri, 26 May 2023 17:20:04 +0800 Subject: [PATCH] RevokeMsg --- internal/rpc/msg/revoke.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/rpc/msg/revoke.go b/internal/rpc/msg/revoke.go index fb32550e0..a2b87aa3c 100644 --- a/internal/rpc/msg/revoke.go +++ b/internal/rpc/msg/revoke.go @@ -53,7 +53,8 @@ func (m *msgServer) RevokeMsg(ctx context.Context, req *msg.RevokeMsgReq) (*msg. if len(msgs) == 0 { return nil, errs.ErrRecordNotFound.Wrap("msg not found") } - log.ZInfo(ctx, "GetMsgBySeqs", "conversationID", conversationID, "seq", req.Seq, "msg", msgs[0]) + data, _ := json.Marshal(msgs[0]) + log.ZInfo(ctx, "GetMsgBySeqs", "conversationID", conversationID, "seq", req.Seq, "msg", string(data)) sendID := msgs[0].SendID if !tokenverify.IsAppManagerUid(ctx) { if req.GroupID == "" {