支持客服入口按业务场景分流到客服分组
联系客服支持 scene(general/mohong),按用户与场景复用会话;摸大红入口走摸大红分组选人。
This commit is contained in:
@@ -17,6 +17,7 @@ type ConversationDTO struct {
|
||||
LatestHandoffStatus string `json:"latest_handoff_status,omitempty"`
|
||||
LatestRefundStatus string `json:"latest_refund_status,omitempty"`
|
||||
Type string `json:"type"`
|
||||
SupportScene string `json:"support_scene,omitempty"`
|
||||
Title string `json:"title"`
|
||||
Status string `json:"status"`
|
||||
Role string `json:"role"`
|
||||
@@ -32,6 +33,12 @@ type ConversationDTO struct {
|
||||
UpdatedAt time.Time `json:"updated_at"`
|
||||
}
|
||||
|
||||
// EnsureSupportRequest 创建/复用客服会话。
|
||||
type EnsureSupportRequest struct {
|
||||
// Scene 业务场景:general(默认)/ mohong(摸大红)
|
||||
Scene string `json:"scene"`
|
||||
}
|
||||
|
||||
type ParticipantDTO struct {
|
||||
ID uint64 `json:"id"`
|
||||
ConversationID uint64 `json:"conversation_id"`
|
||||
|
||||
Reference in New Issue
Block a user