更新密码找回uniapp
This commit is contained in:
1 parent
7f9a66da0f
commit
3fdda89833
1304 files changed
+3503
-26132
No files matched your search
@@ -2,13 +2,12 @@ package models
|
||||
|
||||
import "time"
|
||||
|
||||
// PlatformAiChatSession 平台 AI Playground 会话
|
||||
type PlatformAiChatSession struct {
|
||||
ID uint64 `orm:"column(id);pk;auto" json:"id"`
|
||||
Title string `orm:"column(title);size(100)" json:"title"`
|
||||
ProviderID uint64 `orm:"column(provider_id)" json:"provider_id"`
|
||||
Model string `orm:"column(model);size(100)" json:"model"`
|
||||
IsTop int8 `orm:"column(is_top);default(0)" json:"is_top"` // 1-置顶
|
||||
IsTop int8 `orm:"column(is_top);default(0)" json:"is_top"`
|
||||
CreateTime time.Time `orm:"column(create_time);auto_now_add;type(datetime)" json:"create_time"`
|
||||
UpdateTime time.Time `orm:"column(update_time);auto_now;type(datetime)" json:"update_time"`
|
||||
DeleteTime *time.Time `orm:"column(delete_time);type(datetime);null" json:"delete_time"`
|
||||
@@ -16,13 +15,12 @@ type PlatformAiChatSession struct {
|
||||
|
||||
func (m *PlatformAiChatSession) TableName() string { return "yz_platform_ai_chat_session" }
|
||||
|
||||
// PlatformAiChatMessage 平台 AI 会话消息
|
||||
type PlatformAiChatMessage struct {
|
||||
ID uint64 `orm:"column(id);pk;auto" json:"id"`
|
||||
SessionID uint64 `orm:"column(session_id)" json:"session_id"`
|
||||
Role string `orm:"column(role);size(20)" json:"role"`
|
||||
Content string `orm:"column(content);type(text)" json:"content"` // user 存原始 content JSON(含附件);assistant 存纯文本
|
||||
Think string `orm:"column(think);type(text)" json:"think"` // assistant 思考过程
|
||||
Content string `orm:"column(content);type(text)" json:"content"`
|
||||
Think string `orm:"column(think);type(text)" json:"think"`
|
||||
Seq int `orm:"column(seq)" json:"seq"`
|
||||
CreateTime time.Time `orm:"column(create_time);auto_now_add;type(datetime)" json:"create_time"`
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user