CaculateSkuEarningPrice中调用ConstrainPayPercentage
+RefreshOrdersPriceInfo
This commit is contained in:
@@ -487,6 +487,7 @@ func CaculateSkuEarningPrice(shopPrice, salePrice int64, storePayPercentage int)
|
||||
if salePrice == 0 || shopPrice > 0 && shopPrice < earningPrice {
|
||||
earningPrice = shopPrice
|
||||
}
|
||||
storePayPercentage = ConstrainPayPercentage(storePayPercentage)
|
||||
if storePayPercentage <= 0 {
|
||||
storePayPercentage = model.DefaultEarningPricePercentage
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user