处理美团平台商品AppFood有id但sku没有id的情况

This commit is contained in:
gazebo
2019-11-15 16:40:07 +08:00
parent 9cc35f5f10
commit 0b19a6387d
2 changed files with 7 additions and 2 deletions

View File

@@ -640,6 +640,11 @@ func amendAndPruneStoreStuff(ctx *jxcontext.Context, parentTask tasksch.ITask, v
} else {
remoteSkuMap[vendorSkuID] = 1
}
} else if v.VendorNameID != "" {
sku2Delete = append(sku2Delete, &partner.StoreSkuInfo{
SkuID: v.NameID,
VendorSkuID: v.VendorNameID,
})
}
}