feat 添加spuId

This commit is contained in:
timerzz 2024-07-29 15:10:04 +08:00
parent c2339c07c4
commit 33f4c41ca7

View File

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