aa
This commit is contained in:
@@ -1603,7 +1603,7 @@ func OrderProfitWarning(order *model.GoodsOrder) {
|
||||
}
|
||||
} else {
|
||||
if payPercentage >= 50 {
|
||||
profit = utils.Str2Float64(utils.Int64ToStr(order.TotalShopMoney-order.ShopPrice)) / 100
|
||||
profit = utils.Str2Float64(utils.Int64ToStr(order.TotalShopMoney-order.EarningPrice)) / 100
|
||||
} else {
|
||||
profit = utils.Str2Float64(utils.Int64ToStr(order.TotalShopMoney*int64(payPercentage)/200)) / 100
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user