feat: add ChannelID to conversation model and update related services and responses

This commit is contained in:
mlogclub
2026-04-27 17:59:23 +08:00
parent bc98fc572f
commit 1bb4608051
9 changed files with 10 additions and 3 deletions
@@ -389,7 +389,7 @@ func (s *wxWorkKFInboundService) ensureConversation(base syncmsg.BaseMessage, pr
Desc("id"))
if conversation == nil {
conversation, err = ConversationService.Create(external, channel.AIAgentID)
conversation, err = ConversationService.Create(external, channel.ID, channel.AIAgentID)
if err != nil {
return nil, err
}