From f6b3e99a325670b7818163614ffde6692e990918 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Thu, 12 Nov 2020 11:26:13 +0800 Subject: [PATCH] beta --- business/jxstore/tempop/tempop.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/business/jxstore/tempop/tempop.go b/business/jxstore/tempop/tempop.go index 32866dc99..ec3339ab0 100644 --- a/business/jxstore/tempop/tempop.go +++ b/business/jxstore/tempop/tempop.go @@ -1790,14 +1790,14 @@ func UploadJdsImage(ctx *jxcontext.Context) (err error) { outStoreSkuList, err := handler.GetStoreSkusBareInfo(ctx, vendorOrgCode, nil, 0, jdStoreIDxipu, skuInfos) for _, vv := range outStoreSkuList { skuMap[vv.VendorSkuID] = vv + if vv.VendorSkuID == "2004046088" { + fmt.Println("skuMap", utils.Format4Output(skuMap[vv.VendorSkuID], false)) + } } for _, jdStoreID := range jdStoreIDs { outStoreSkuList2, _ := handler.GetStoreSkusBareInfo(ctx, vendorOrgCode, nil, 0, jdStoreID, skuInfos) for _, v := range outStoreSkuList2 { - if v.VendorSkuID == "2004046088" { - fmt.Println("v1", utils.Format4Output(v, false)) - fmt.Println("skuMap", utils.Format4Output(skuMap["2004046088"], false)) - } + if skuMap[v.VendorSkuID] == nil { continue }