This commit is contained in:
苏尹岚
2020-11-12 11:05:02 +08:00
parent 1e77a962e7
commit fa7200f3c6

View File

@@ -1791,13 +1791,9 @@ func UploadJdsImage(ctx *jxcontext.Context) (err error) {
for _, v := range outStoreSkuList {
skuMap[v.VendorSkuID] = v
}
fmt.Println("skuMap", skuMap["2004046088"])
for _, jdStoreID := range jdStoreIDs {
outStoreSkuList2, _ := handler.GetStoreSkusBareInfo(ctx, vendorOrgCode, nil, 0, jdStoreID, skuInfos)
for _, v := range outStoreSkuList2 {
if v.VendorSkuID == "2004046088" {
fmt.Println("v", v)
}
if skuMap[v.VendorSkuID] == nil {
continue
}
@@ -1819,12 +1815,12 @@ func UploadJdsImage(ctx *jxcontext.Context) (err error) {
}
}
}
if len(priceList) > 0 {
fmt.Println("priceList", utils.Format4Output(priceList, false))
// for k, v := range priceList {
// handler.UpdateStoreSkusPrice(ctx, vendorOrgCode, 0, k, v)
// }
}
// if len(priceList) > 0 {
fmt.Println("priceList", utils.Format4Output(priceList, false))
// for k, v := range priceList {
// handler.UpdateStoreSkusPrice(ctx, vendorOrgCode, 0, k, v)
// }
// }
if len(statusList1) > 0 {
// for k, v := range statusList1 {
// handler.UpdateStoreSkusStatus(ctx, vendorOrgCode, 0, k, v, v[0].Status)