From d372e3457c2980c47a085287d8f9fe674b815edc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Fri, 27 Mar 2020 14:36:45 +0800 Subject: [PATCH] =?UTF-8?q?=E9=93=B6=E8=B1=B9=E6=96=B0=E5=A2=9E=E5=95=86?= =?UTF-8?q?=E5=93=81api=E5=88=86=E7=B1=BBid=E7=B1=BB=E5=9E=8B=E4=BF=AE?= =?UTF-8?q?=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 2fa2aad3..a6f3c41b 100644 --- a/platformapi/yinbaoapi/yinbaoapi.go +++ b/platformapi/yinbaoapi/yinbaoapi.go @@ -156,7 +156,7 @@ func (a *API) AddProductInfo(productInfoParam *ProductInfoParam) (addProductInfo "buyPrice": productInfoParam.ProductInfo.BuyPrice, "sellPrice": productInfoParam.ProductInfo.SellPrice, "stock": productInfoParam.ProductInfo.Stock, - "categoryUID": productInfoParam.ProductInfo.CategoryUID, + "categoryUid": productInfoParam.ProductInfo.CategoryUID, } result, err := a.AccessAPI("productOpenApi/addProductInfo", map[string]interface{}{ "productInfo": mapP,