银豹修改商品err返回

This commit is contained in:
苏尹岚
2020-04-30 14:47:33 +08:00
parent 1bb8760316
commit 28408454d0

View File

@@ -200,7 +200,7 @@ func (a *API) UpdateProductInfo(productInfo *ProductInfo) (err error) {
if productInfo.CustomerPrice != nil {
mapP["customerPrice"] = productInfo.CustomerPrice
}
a.AccessAPI("productOpenApi/updateProductInfo", map[string]interface{}{
_, err = a.AccessAPI("productOpenApi/updateProductInfo", map[string]interface{}{
"productInfo": mapP,
})
return err