|
@ -24,8 +24,9 @@ type CustomerGoods struct { |
|
|
Desc string `json:"desc" xorm:"not null default '' comment('商品介绍') VARCHAR(255)"` |
|
|
Desc string `json:"desc" xorm:"not null default '' comment('商品介绍') VARCHAR(255)"` |
|
|
|
|
|
|
|
|
// 无关变量
|
|
|
// 无关变量
|
|
|
GoodType int `json:"good_type" xorm:"-"` |
|
|
|
|
|
Qrcode string `json:"qrcode,omitempty" xorm:"-"` |
|
|
|
|
|
|
|
|
GoodType int `json:"good_type" xorm:"-"` |
|
|
|
|
|
Postage float64 `json:"postage" xorm:"-"` |
|
|
|
|
|
Qrcode string `json:"qrcode,omitempty" xorm:"-"` |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
func (t *CustomerGoods) TableName() string { |
|
|
func (t *CustomerGoods) TableName() string { |
|
|