From e6d53b572685d61c48c44067f2cd2ef826356ac1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Wed, 29 Apr 2020 10:50:24 +0800 Subject: [PATCH] =?UTF-8?q?=E9=93=B6=E8=B1=B9api=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E5=95=86=E5=93=81=E5=9B=BE=E7=89=87=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- platformapi/yinbaoapi/yinbaoapi.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platformapi/yinbaoapi/yinbaoapi.go b/platformapi/yinbaoapi/yinbaoapi.go index dc1b063e..dd65c48b 100644 --- a/platformapi/yinbaoapi/yinbaoapi.go +++ b/platformapi/yinbaoapi/yinbaoapi.go @@ -256,7 +256,7 @@ type QueryProductImagesByBarcodeResult struct { //http://pospal.cn/openplatform/productapi.html#queryProductImagesByBarcode func (a *API) QueryProductImagesByBarcode(barcode string) (queryProductImagesByBarcodeResult []*QueryProductImagesByBarcodeResult, err error) { result, err := a.AccessAPI("productOpenApi/queryProductImagesByBarcode", map[string]interface{}{ - "barcode": barcode, + "productBarcode": barcode, }) if err == nil { utils.Map2StructByJson(result["data"], &queryProductImagesByBarcodeResult, false)