订单预警利润公式修改
This commit is contained in:
@@ -1376,7 +1376,7 @@ func OrderProfitWarning(order *model.GoodsOrder) {
|
||||
if storeDetail != nil && err == nil {
|
||||
payPercentage := storeDetail.PayPercentage
|
||||
if payPercentage >= 50 {
|
||||
profit = utils.Str2Float64(utils.Int64ToStr(order.TotalShopMoney-order.EarningPrice-order.DistanceFreightMoney-order.WaybillTipMoney)) / 100
|
||||
profit = utils.Str2Float64(utils.Int64ToStr(order.TotalShopMoney-order.EarningPrice)) / 100
|
||||
} else {
|
||||
profit = utils.Str2Float64(utils.Int64ToStr(order.TotalShopMoney*int64(payPercentage)/200)) / 100
|
||||
}
|
||||
|
||||
@@ -40,11 +40,11 @@ var (
|
||||
priceReferTimeList = []string{
|
||||
"01:00:00",
|
||||
}
|
||||
createStorePriceTimeList = []string{
|
||||
checkCookieList = []string{
|
||||
"08:00:00",
|
||||
"18:00:00",
|
||||
}
|
||||
checkCookieList = []string{
|
||||
createStorePriceTimeList = []string{
|
||||
"02:00:00",
|
||||
}
|
||||
refreshPageActTimeList = []string{
|
||||
|
||||
Reference in New Issue
Block a user