Commit 74a0d406 by 杨树贤

Merge branch 'ysx-产地相关需求-20250422' into dev

parents 84d8050a aae0a7b1
Showing with 2 additions and 0 deletions
...@@ -90,6 +90,7 @@ type LySku struct { ...@@ -90,6 +90,7 @@ type LySku struct {
CustomPriceList []CustomPrice `json:"custom_price_list"` CustomPriceList []CustomPrice `json:"custom_price_list"`
Coo string `json:"coo"` Coo string `json:"coo"`
Tariff float64 `json:"tariff"` Tariff float64 `json:"tariff"`
TariffFormat string `json:"tariff_format"`
} }
type DiscountRatio struct { type DiscountRatio struct {
......
...@@ -596,6 +596,7 @@ func (ls *LyService) GetTariffAndPrice(sku model.LySku) model.LySku { ...@@ -596,6 +596,7 @@ func (ls *LyService) GetTariffAndPrice(sku model.LySku) model.LySku {
transformedLadderPrice[index].PriceAc = c.MyRound(c.MulFloat(price.PriceAc,2.25),4) transformedLadderPrice[index].PriceAc = c.MyRound(c.MulFloat(price.PriceAc,2.25),4)
} }
sku.Tariff = 2.25 sku.Tariff = 2.25
sku.TariffFormat = "125%"
} }
return sku return sku
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment