order apis

This commit is contained in:
2026-08-26 17:32:54 +08:00
parent eabdc8772e
commit 299191749b
32 changed files with 1321 additions and 251 deletions
+9
View File
@@ -16,3 +16,12 @@ type Cart struct {
type CartInfo struct {
Content string `json:"content" gorm:"content"` // 内容
}
type ProductInfo struct {
Id int64 `json:"id" gorm:"id"`
Price float64 `json:"price" gorm:"price"`
Number int `json:"number" gorm:"number"`
Name string `json:"name" gorm:"name"`
Images string `json:"images" gorm:"images"`
Stock int `json:"stock" gorm:"stock"`
}