feat: 添加客服账号管理及WebSocket功能

This commit is contained in:
2026-04-03 17:52:09 +08:00
parent b7cce0befa
commit 7416bf8d96
20 changed files with 1065 additions and 74 deletions

View File

@@ -4,6 +4,22 @@ import (
"gitea.com/red-future/common/beans"
)
type scriptedSpeechCol struct {
beans.SQLBaseCol
AccountId string
DatasetId string
QuestionContent string
AnswerContent string
}
var ScriptedSpeechCol = scriptedSpeechCol{
SQLBaseCol: beans.DefSQLBaseCol,
AccountId: "account_id",
DatasetId: "dataset_id",
QuestionContent: "question_content",
AnswerContent: "answer_content",
}
type ScriptedSpeech struct {
beans.SQLBaseDO `orm:",inline"`