diff --git a/business/jxutils/jxutils_cms.go b/business/jxutils/jxutils_cms.go index a62a9f1c3..f9e01d968 100644 --- a/business/jxutils/jxutils_cms.go +++ b/business/jxutils/jxutils_cms.go @@ -250,8 +250,8 @@ func CaculateSkuVendorPrice(price, percentage int) (vendorPrice int) { percentage = 100 } vendorPrice = int(math.Round(float64(price*percentage) / 100)) - if vendorPrice < 0 { - vendorPrice = 0 + if vendorPrice < 1 { + vendorPrice = 1 } return vendorPrice }