Commit b317e448 by 杨树贤

添加spu_eccn

parent ec2163bc
Showing with 2 additions and 0 deletions
......@@ -86,6 +86,7 @@ type LySku struct {
OriginCurrencySymbol string `json:"origin_currency_symbol,omitempty"`
CustomizeRateRMB float64
CustomizeRateUs float64
SpuEccn string `json:"spu_eccn"`
}
type DiscountRatio struct {
......
......@@ -262,6 +262,7 @@ func (ls *LyService) CombineSup(sku model.LySku, spuStr string) model.LySku {
sku.SpuDetail = gjson.Get(spuStr, "spu_detail").String()
sku.Status = int(gjson.Get(spuStr, "status").Int())
sku.Encap = gjson.Get(spuStr, "encap").String()
sku.SpuEccn = gjson.Get(spuStr, "eccn").String()
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