同步测试
This commit is contained in:
@@ -403,11 +403,12 @@ func loopPages(parameterType, parameterValue string, skuNameList []*partner.SkuN
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
for _, v := range resultPages.Result {
|
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)
|
// resultp, err := getProductImages(vendorStoreID, v.Barcode)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
var resultp []*yinbaoapi.QueryProductImagesByBarcodeResult
|
||||||
vv := &yinbaoapi.QueryProductByBarcodeResult{}
|
vv := &yinbaoapi.QueryProductByBarcodeResult{}
|
||||||
err = utils.Map2StructByJson(utils.Struct2MapByJson(v), vv, false)
|
err = utils.Map2StructByJson(utils.Struct2MapByJson(v), vv, false)
|
||||||
if skuName := vendorSku2Jx(vv, resultp); skuName != nil {
|
if skuName := vendorSku2Jx(vv, resultp); skuName != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user