引包目录名调整
This commit is contained in:
16
customer-server/consts/public/msg_key.go
Normal file
16
customer-server/consts/public/msg_key.go
Normal file
@@ -0,0 +1,16 @@
|
||||
package public
|
||||
|
||||
const GmqMsgPluginsName = "gmq_msg"
|
||||
|
||||
const (
|
||||
AccountMsgKey = "account:%s:%s:%s"
|
||||
AccountDialogHistoryKey = "account:dialog:history:%s"
|
||||
AccountGreetingOptionsKey = "account:greeting:options:%s"
|
||||
)
|
||||
|
||||
const (
|
||||
AccountFollowupTopic = "account:followup:stream" // 请求 Stream 键名(与发消息的key一致)
|
||||
AccountFollowupConsumer = "account-followup-consumer" // 消费者名称(唯一标识)
|
||||
AccountFollowupCount = 1 // 批处理大小(每次读取1条)
|
||||
AccountFollowupAck = false // ACK是否自动确认(true自动确认,false不确认)
|
||||
)
|
||||
18
customer-server/consts/public/session_tool.go
Normal file
18
customer-server/consts/public/session_tool.go
Normal file
@@ -0,0 +1,18 @@
|
||||
package public
|
||||
|
||||
// 欢迎语
|
||||
const (
|
||||
GreetingBegin = "您好,很高兴为您服务!请问有什么可以帮您?"
|
||||
GreetingBetween = "💗回复数字就好~"
|
||||
GreetingEnd = "🌟也可直接点击下方咨询专业老师~"
|
||||
)
|
||||
|
||||
// 追问
|
||||
const (
|
||||
SceneOpeningRemark = "宝子,刚才给您发的信息您有看到吗?有任何问题都能直接问我,加微信也能更方便沟通~"
|
||||
SceneDialog = "看您暂时没回复,是不是还有什么疑问?加微信我详细给您说明~"
|
||||
SceneCardSend = "宝子,加上没~要及时加哦,不然卡片容易失效哒✨"
|
||||
)
|
||||
|
||||
// 对话超时时间
|
||||
const DialogTimeout = 10
|
||||
8
customer-server/consts/public/table_name.go
Normal file
8
customer-server/consts/public/table_name.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package public
|
||||
|
||||
// sql 数据库表名
|
||||
const (
|
||||
TableNameAccount = "account"
|
||||
TableNameAccountUserDialog = "account_user_dialog"
|
||||
TableNameScriptedSpeech = "scripted_speech"
|
||||
)
|
||||
Reference in New Issue
Block a user