银豹新增商品api分类id类型修改

This commit is contained in:
苏尹岚
2020-03-27 14:32:20 +08:00
parent 16ebb66544
commit 018fa6c46b

View File

@@ -156,6 +156,7 @@ func (a *API) AddProductInfo(productInfoParam *ProductInfoParam) (addProductInfo
"buyPrice": productInfoParam.ProductInfo.BuyPrice, "buyPrice": productInfoParam.ProductInfo.BuyPrice,
"sellPrice": productInfoParam.ProductInfo.SellPrice, "sellPrice": productInfoParam.ProductInfo.SellPrice,
"stock": productInfoParam.ProductInfo.Stock, "stock": productInfoParam.ProductInfo.Stock,
"categoryUID": productInfoParam.ProductInfo.CategoryUID,
} }
result, err := a.AccessAPI("productOpenApi/addProductInfo", map[string]interface{}{ result, err := a.AccessAPI("productOpenApi/addProductInfo", map[string]interface{}{
"productInfo": mapP, "productInfo": mapP,