修复获取模型消息数量,统计数据
This commit is contained in:
parent
1004f59db0
commit
58bfcc1066
|
|
@ -8,7 +8,7 @@ import (
|
||||||
type AIStreamMsg struct {
|
type AIStreamMsg struct {
|
||||||
gorm.Model
|
gorm.Model
|
||||||
Type string `gorm:"column:type"`
|
Type string `gorm:"column:type"`
|
||||||
ModelID uint `gorm:"column:model_id index:idx_covering,unique"`
|
ModelID uint `gorm:"column:model_id index:idx_model_id"`
|
||||||
UserID int `gorm:"column:user_id"` //用户id
|
UserID int `gorm:"column:user_id"` //用户id
|
||||||
SessionID int `gorm:"column:session_id"` //会话id
|
SessionID int `gorm:"column:session_id"` //会话id
|
||||||
MSG string `gorm:"column:msg"` //消息内容
|
MSG string `gorm:"column:msg"` //消息内容
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue