add item image

This commit is contained in:
2025-03-03 15:21:01 +01:00
parent cdfd77bc21
commit 803535daba
12 changed files with 401 additions and 112 deletions

View File

@@ -12,6 +12,6 @@ type ShopItem struct {
Price float64 `json:"price" binding:"required"`
IsPublic bool `json:"isPublic" gorm:"default:true"`
Tags []Tag `gorm:"many2many:item_tags;"`
//Images gin.multipart.FileHeader ``
Image string
}