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