diff --git a/business/jxutils/jxutils_cms.go b/business/jxutils/jxutils_cms.go index 1f93aba03..6605bb5cb 100644 --- a/business/jxutils/jxutils_cms.go +++ b/business/jxutils/jxutils_cms.go @@ -514,7 +514,11 @@ func CaculateSkuEarningPrice(shopPrice, salePrice int64, storePayPercentage int) } } } else { - earningPrice = shopPrice + if shopPrice == 0 { + earningPrice = salePrice * 70 / 100 + } else { + earningPrice = shopPrice + } } storePayPercentage = ConstrainPayPercentage(storePayPercentage) if storePayPercentage <= 0 {