银豹同步到京西ooooo

This commit is contained in:
苏尹岚
2020-04-29 14:42:54 +08:00
parent 0589f6a947
commit 34683bb26e
2 changed files with 19 additions and 19 deletions

View File

@@ -415,12 +415,12 @@ func loopPages(parameterType, parameterValue string, skuNameList *[]*partner.Sku
return err
}
for _, v := range resultPages.Result {
// resultp, err := api.YinBaoAPI.QueryProductImagesByBarcode(v.Barcode)
resultp, err := api.YinBaoAPI.QueryProductImagesByBarcode(v.Barcode)
// resultp, err := getProductImages(vendorStoreID, v.Barcode)
if err != nil {
return err
}
var resultp []*yinbaoapi.QueryProductImagesByBarcodeResult
// var resultp []*yinbaoapi.QueryProductImagesByBarcodeResult
vv := &yinbaoapi.QueryProductByBarcodeResult{}
err = utils.Map2StructByJson(utils.Struct2MapByJson(v), vv, false)
if skuName := vendorSku2Jx(vv, resultp); skuName != nil {