|
|
|
@ -10,12 +10,14 @@ type ArgsSkuUpdate struct {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type SkuPrice struct {
|
|
|
|
|
DiscountPrice decimal.Decimal `json:"discount_price"`
|
|
|
|
|
Coupon decimal.Decimal `json:"coupon"`
|
|
|
|
|
CommissionRate decimal.Decimal `json:"commission_rate"`
|
|
|
|
|
SkuID uint `json:"sku_id"`
|
|
|
|
|
SaleVolInc uint `json:"sale_vol_inc"`
|
|
|
|
|
Inventory uint `json:"inventory"`
|
|
|
|
|
PlatformRate decimal.Decimal `json:"platform_rate"`
|
|
|
|
|
DeductionRate decimal.Decimal `json:"deduction_rate"`
|
|
|
|
|
DiscountPrice decimal.Decimal `json:"discount_price"`
|
|
|
|
|
Coupon decimal.Decimal `json:"coupon"`
|
|
|
|
|
CommissionRate decimal.Decimal `json:"commission_rate"`
|
|
|
|
|
SkuID uint `json:"sku_id"`
|
|
|
|
|
SaleVolInc uint `json:"sale_vol_inc"`
|
|
|
|
|
Inventory uint `json:"inventory"`
|
|
|
|
|
PlatformRate decimal.Decimal `json:"platform_rate"`
|
|
|
|
|
DeductionRate decimal.Decimal `json:"deduction_rate"`
|
|
|
|
|
ExtraPrice *decimal.Decimal `json:"extra_price"`
|
|
|
|
|
SaleExtraPrice *decimal.Decimal `json:"extra_extra_price"`
|
|
|
|
|
}
|
|
|
|
|