diff --git a/model/product/model.go b/model/product/model.go index ba2bb43..4147660 100644 --- a/model/product/model.go +++ b/model/product/model.go @@ -51,6 +51,7 @@ type Product struct { CalMark string `json:"calMark"` //计算价格的过程 DWPrice float64 `json:"dwPrice"` DWSkuId int64 `json:"dwSkuId"` // 得物sku_id + DWSpuId int64 `json:"dwSpuId"` //得物spu_id Freight float64 `json:"freight"` //运费 ExchangeRate float64 `json:"exchangeRate" gorm:"-"` //汇率 Rate float64 `json:"rate" gorm:"index"` //利润率