同步测试
This commit is contained in:
@@ -411,11 +411,11 @@ func loopPages(parameterType, parameterValue string, skuNameList []*partner.SkuN
|
|||||||
var resultp []*yinbaoapi.QueryProductImagesByBarcodeResult
|
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)
|
||||||
fmt.Println("vv", utils.Format4Output(vv, false))
|
|
||||||
if skuName := vendorSku2Jx(vv, resultp); skuName != nil {
|
if skuName := vendorSku2Jx(vv, resultp); skuName != nil {
|
||||||
skuNameList = append(skuNameList, skuName)
|
skuNameList = append(skuNameList, skuName)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
fmt.Println("skuNameList", utils.Format4Output(skuNameList, false))
|
||||||
// if len(resultPages.Result) >= resultPages.PageSize {
|
// if len(resultPages.Result) >= resultPages.PageSize {
|
||||||
// err = loopPages(resultPages.PostBackParameter.ParameterType, resultPages.PostBackParameter.ParameterValue, skuNameList, vendorStoreID)
|
// err = loopPages(resultPages.PostBackParameter.ParameterType, resultPages.PostBackParameter.ParameterValue, skuNameList, vendorStoreID)
|
||||||
// }
|
// }
|
||||||
|
|||||||
Reference in New Issue
Block a user