银豹到京西,创建名字判断
This commit is contained in:
@@ -2369,6 +2369,11 @@ func AddSkuNameByUpc(ctx *jxcontext.Context, upc string, store *dao.StoreDetail,
|
||||
skuNameExt.Img = model.NOSkuNameImg
|
||||
}
|
||||
}
|
||||
if productInfo.Name == "" {
|
||||
skuNameExt.Name = v.Name
|
||||
} else {
|
||||
skuNameExt.Name = productInfo.Name
|
||||
}
|
||||
}
|
||||
if flag := checkAndUpdateUpc(ctx, db, skuNameExt, v, store); !flag {
|
||||
if !strings.Contains(skuNameExt.Img, "image.jxc4.com") {
|
||||
|
||||
Reference in New Issue
Block a user