Commit 2c443830 by mushishixian

Merge branch 'ysx-sku服务-20201215'

parents f39b5e7f 38c7f6d3
Showing with 1 additions and 1 deletions
......@@ -279,6 +279,7 @@ func (ls *LyService) GetCoefficient(sku model.LySku) model.LySku {
}
if !hasCoefficient && !hasDefault {
logger.Error("%s", "系数获取异常,供应商:"+common.ToString(sku.SupplierId))
sku.Content = "系数获取异常,供应商:"+common.ToString(sku.SupplierId)
return sku
}
......@@ -401,7 +402,6 @@ 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.Content = gjson.Get(spuStr,"spu_name").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