Commit 4feb4387 by 杨树贤

Merge branch 'ysx-mrq需求-20230710' into dev

parents 410a7429 5aaff80d
Showing with 4 additions and 1 deletions
......@@ -76,7 +76,10 @@ func (ls *LyService) LyGoodsDetail(ctx *gin.Context, goodsIds []string, ch chan
//获取商品名称
//1688就是mro的sku spuName和GoodsName不是一个东西,不能公用
if sku.GoodsName == "" && sku.SupplierId != 1688 {
if sku.GoodsName != "" && sku.SupplierId == 1688 {
sku.GoodsName = gjson.Get(spu, "spu_name").String()
}
if sku.GoodsName == "" {
sku.GoodsName = gjson.Get(spu, "spu_name").String()
}
......
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