Commit aae0a7b1 by 杨树贤

加字段

parent ed04fedb
Showing with 2 additions and 0 deletions
......@@ -90,6 +90,7 @@ type LySku struct {
CustomPriceList []CustomPrice `json:"custom_price_list"`
Coo string `json:"coo"`
Tariff float64 `json:"tariff"`
TariffFormat string `json:"tariff_format"`
}
type DiscountRatio struct {
......
......@@ -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)
}
sku.Tariff = 2.25
sku.TariffFormat = "125%"
}
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