feat: 优化客服会话及延迟消息逻辑

This commit is contained in:
2026-04-16 15:48:26 +08:00
parent d99481cdb0
commit 9f54f95264
10 changed files with 132 additions and 116 deletions

View File

@@ -2,7 +2,11 @@ package public
const GmqMsgPluginsName = "gmq_msg"
const AccountDialogKeyUserId = "account:dialog:%s"
const (
AccountMsgKey = "account:%s:%s:%s"
AccountDialogHistoryKey = "account:dialog:history:%s"
AccountGreetingOptionsKey = "account:greeting:options:%s"
)
const (
AccountFollowupTopic = "account:followup:stream" // 请求 Stream 键名与发消息的key一致