get con from cache

test-errcode
wangchuxiao 1 year ago
parent 3bc98aae2d
commit fef5543392

@ -265,5 +265,5 @@ func (c *conversationDatabase) GetUserAllHasReadSeqs(ctx context.Context, ownerU
}
func (c *conversationDatabase) GetConversationsByConversationID(ctx context.Context, conversationIDs []string) ([]*relationTb.ConversationModel, error) {
return c.conversationDB.GetConversationsByConversationID(ctx, conversationIDs)
return c.cache.GetConversationsByConversationID(ctx, conversationIDs)
}

Loading…
Cancel
Save