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
@@ -50,7 +50,7 @@ func (c *ConversationController) PostCreate_or_match() *web.JsonResult {
return web.JsonErrorMsg("外部身份未初始化")
}
item, err := services.ConversationService.Create(*external, channel.AIAgentID)
item, err := services.ConversationService.Create(*external, channel.ID, channel.AIAgentID)
if err != nil {
return web.JsonError(err)
}