feat: 新增账号编码和HTTP连接功能

This commit is contained in:
2026-04-11 18:22:52 +08:00
parent 2f5c4f7e54
commit f8927afa9c
94 changed files with 1213 additions and 10230 deletions

View File

@@ -0,0 +1,27 @@
package entity
import (
"gitea.com/red-future/common/beans"
)
type accountUserDialogCol struct {
beans.SQLBaseCol
AccountId string
UserId string
DialogCount string
}
var AccountUserDialogCol = accountUserDialogCol{
SQLBaseCol: beans.DefSQLBaseCol,
AccountId: "account_id",
UserId: "user_id",
DialogCount: "dialog_count",
}
type AccountUserDialog struct {
beans.SQLBaseDO `orm:",inline"`
AccountId int64 `orm:"account_id" json:"accountId" dc:"客服ID"`
UserId string `orm:"user_id" json:"userId" dc:"用户ID"`
DialogCount int64 `orm:"dialog_count" json:"dialogCount" dc:"对话次数"`
}