user info
This commit is contained in:
@@ -39,6 +39,7 @@ type Image struct {
|
||||
UserID int `json:"user_id"` // 用户ID
|
||||
ModelID int `json:"model_id"` // 模型ID
|
||||
Preview string `json:"preview" gorm:"-"` // 实时预览 base64
|
||||
User User `json:"user" gorm:"-"` // 用户
|
||||
CreatedAt time.Time `json:"created_at" gorm:"autoCreateTime"`
|
||||
UpdatedAt time.Time `json:"updated_at" gorm:"autoUpdateTime"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user