京东商城商品修改
This commit is contained in:
@@ -845,6 +845,12 @@ func buildUpdateSkusParam(storeSku *dao.StoreSkuSyncInfo, v *dao.StoreSkuSyncInf
|
||||
},
|
||||
})
|
||||
sku.SkuID = utils.Str2Int64(v.VendorSkuID)
|
||||
attrSku := &jdshopapi.CreateSkuParamAttrs{
|
||||
AttrID: vendorSku.SaleAttrs[0].AttrID,
|
||||
AttrValues: []string{vendorSku.SaleAttrs[0].AttrValues[0]},
|
||||
}
|
||||
attrsPropSku = append(attrsPropSku, attrSku)
|
||||
sku.SaleAttrs = attrsPropSku
|
||||
}
|
||||
} else {
|
||||
if vendorAttrValue != specQuality {
|
||||
|
||||
Reference in New Issue
Block a user