From d4cb40c3909a5c05566e8e19aad973c79fe2861a Mon Sep 17 00:00:00 2001 From: wangchuxiao Date: Thu, 11 May 2023 20:15:06 +0800 Subject: [PATCH] msg --- pkg/common/db/unrelation/msg.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/common/db/unrelation/msg.go b/pkg/common/db/unrelation/msg.go index 591513a48..e6c94e788 100644 --- a/pkg/common/db/unrelation/msg.go +++ b/pkg/common/db/unrelation/msg.go @@ -137,7 +137,7 @@ func (m *MsgMongoDriver) UpdateOneDoc(ctx context.Context, msg *table.MsgDocMode func (m *MsgMongoDriver) GetMsgBySeqIndexIn1Doc(ctx context.Context, docID string, beginSeq, endSeq int64) (msgs []*sdkws.MsgData, seqs []int64, err error) { beginIndex := m.msg.GetMsgIndex(beginSeq) num := endSeq - beginSeq + 1 - log.ZDebug(ctx, "beginIndex", beginIndex, "num", num) + log.ZDebug(ctx, "info", "beginIndex", beginIndex, "num", num) pipeline := bson.A{ bson.M{ "$match": bson.M{"doc_id": docID},