京东商城创建商品

This commit is contained in:
苏尹岚
2020-05-13 18:06:24 +08:00
parent 02d0fcc253
commit 6e402021cf

View File

@@ -1,7 +1,6 @@
package jdshop package jdshop
import ( import (
"fmt"
"regexp" "regexp"
"time" "time"
@@ -52,7 +51,6 @@ func (p *PurchaseHandler) CreateStoreSkus(ctx *jxcontext.Context, storeID int, v
} }
} }
} }
fmt.Println("test11111111111111111111111111", utils.Format4Output(resultAttrs, false))
for _, vv2 := range v.StoreSkuSyncInfoJds { for _, vv2 := range v.StoreSkuSyncInfoJds {
vv2.JdsWareID = createSkuResult.WareID vv2.JdsWareID = createSkuResult.WareID
if resultAttrs[utils.Int2Str(vv2.SkuID)] != 0 { if resultAttrs[utils.Int2Str(vv2.SkuID)] != 0 {
@@ -408,7 +406,6 @@ func buildCreateWareParam(storeSku *dao.StoreSkuSyncInfo) (createSkuParamWare *j
} }
features = append(features, feature) features = append(features, feature)
createSkuParamWare.Features = features createSkuParamWare.Features = features
//组合sku //组合sku
for _, v := range storeSku.StoreSkuSyncInfoJds { for _, v := range storeSku.StoreSkuSyncInfoJds {
var ( var (