order apis
This commit is contained in:
@@ -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"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user