银豹修改商品err返回
This commit is contained in:
@@ -200,7 +200,7 @@ func (a *API) UpdateProductInfo(productInfo *ProductInfo) (err error) {
|
|||||||
if productInfo.CustomerPrice != nil {
|
if productInfo.CustomerPrice != nil {
|
||||||
mapP["customerPrice"] = productInfo.CustomerPrice
|
mapP["customerPrice"] = productInfo.CustomerPrice
|
||||||
}
|
}
|
||||||
a.AccessAPI("productOpenApi/updateProductInfo", map[string]interface{}{
|
_, err = a.AccessAPI("productOpenApi/updateProductInfo", map[string]interface{}{
|
||||||
"productInfo": mapP,
|
"productInfo": mapP,
|
||||||
})
|
})
|
||||||
return err
|
return err
|
||||||
|
|||||||
Reference in New Issue
Block a user