修复读会话背景问题
This commit is contained in:
parent
c242bbbd60
commit
0b508ccfcc
|
|
@ -9,9 +9,9 @@ import (
|
|||
|
||||
type Session struct {
|
||||
gorm.Model
|
||||
UserID int `gorm:"column:user_id"` //只能由用户创建
|
||||
Name string `gorm:"column:name"`
|
||||
Context []int `gorm:"column:context;type:json"` //会话上下文
|
||||
UserID int `gorm:"column:user_id"` //只能由用户创建
|
||||
Name string `gorm:"column:name"`
|
||||
Context json.RawMessage `gorm:"column:context;type:json"` //会话上下文
|
||||
}
|
||||
|
||||
type Message struct {
|
||||
|
|
|
|||
Loading…
Reference in New Issue