银豹修改价格尝试

This commit is contained in:
苏尹岚
2020-03-27 15:07:06 +08:00
parent 46aab83aa6
commit 21ff04a78d
3 changed files with 5 additions and 4 deletions

View File

@@ -138,7 +138,7 @@ func (p *PurchaseHandler) UpdateStoreSkusPrice(ctx *jxcontext.Context, vendorOrg
var productInfo = &yinbaoapi.ProductInfo{
UID: utils.Str2Int64(v.VendorSkuID),
SellPrice: utils.Float64ToPointer(jxutils.IntPrice2Standard(v.VendorPrice)),
BuyPrice: utils.Float64ToPointer(jxutils.IntPrice2Standard(int64(v.JxPrice))),
BuyPrice: utils.Float64ToPointer(jxutils.IntPrice2Standard(v.JxPrice)),
}
err = api.YinBaoAPI.UpdateProductInfo(productInfo)
if err != nil {