aa
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user