Commit cbef135e by 杨树贤

名称

parent 6dad7030
Showing with 3 additions and 2 deletions
......@@ -134,8 +134,9 @@ func (ls *LyService) LyGoodsDetail(ctx context.Context, params RequestParams, go
sku.Multiple = sku.Moq
}
//获取商品名称
//1688就是mro的sku spuName和GoodsName不是一个东西,不能公用
if sku.GoodsName != "" && (sku.SupplierId == 1688 || sku.OrgId == 3) {
//spuName和GoodsName不是一个东西,不能公用,因为订单系统也用到了goods_name这个字段
//而下单的时候,只能给spu型号才行
if sku.GoodsName != "" {
sku.GoodsName = gjson.Get(spu, "spu_name").String()
}
if sku.GoodsName == "" {
......
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