aa
This commit is contained in:
@@ -374,7 +374,7 @@ func (c *OrderManager) GetOrders(ctx *jxcontext.Context, isIncludeFake bool, fro
|
|||||||
if afsOrder.AfsTotalShopMoney != 0 {
|
if afsOrder.AfsTotalShopMoney != 0 {
|
||||||
//报价,要减去商品的京西价
|
//报价,要减去商品的京西价
|
||||||
if order.EarningType == model.EarningTypeQuote {
|
if order.EarningType == model.EarningTypeQuote {
|
||||||
order.JxIncome = afsOrder.AfsTotalShopMoney - order.EarningPrice - order.DesiredFee + afsOrder.ShopPrice
|
order.JxIncome = afsOrder.AfsTotalShopMoney - order.EarningPrice - order.DesiredFee + (afsOrder.ShopPrice * int64(order.OrderPayPercentage/100))
|
||||||
} else {
|
} else {
|
||||||
order.JxIncome = afsOrder.AfsTotalShopMoney * int64(order.OrderPayPercentage/2/100)
|
order.JxIncome = afsOrder.AfsTotalShopMoney * int64(order.OrderPayPercentage/2/100)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user