refactor: remove ExternalSource and ExternalID from Conversation model and related services, update references to use ChannelID instead

This commit is contained in:
mlogclub
2026-04-27 19:04:10 +08:00
parent 24105781d9
commit b3ef55b04e
21 changed files with 183 additions and 136 deletions
@@ -12,7 +12,6 @@ const (
type ConversationListRequest struct {
Status int `json:"status"`
ExternalSource string `json:"externalSource"`
ServiceMode int `json:"serviceMode"`
CurrentAssigneeID int64 `json:"currentAssigneeId"`
Keyword string `json:"keyword"`
@@ -22,8 +22,6 @@ type ConversationResponse struct {
AIAgentID int64 `json:"aiAgentId"`
ChannelID int64 `json:"channelId"`
CustomerID int64 `json:"customerId"`
ExternalSource enums.ExternalSource `json:"externalSource"`
ExternalID string `json:"externalId"`
Subject string `json:"subject"`
Status enums.IMConversationStatus `json:"status"`
ServiceMode enums.IMConversationServiceMode `json:"serviceMode"`