更改推理结构

This commit is contained in:
2023-06-28 14:29:44 +08:00
parent 9bcd9540ef
commit 723eca3353
7 changed files with 211 additions and 384 deletions

View File

@@ -37,6 +37,7 @@ type Image struct {
Progress int `json:"progress"` // 任务进度(0-100)
Public bool `json:"public"` // 是否公开
UserID int `json:"user_id"` // 用户ID
ModelID int `json:"model_id"` // 模型ID
CreatedAt time.Time `json:"created_at" gorm:"autoCreateTime"`
UpdatedAt time.Time `json:"updated_at" gorm:"autoUpdateTime"`
}