feat: 增加平台手续费收入记录
This commit is contained in:
parent
eb57117246
commit
1c524f97b9
@ -378,6 +378,7 @@ class PayNotifyLogic extends BaseLogic
|
||||
if ($deposit > $store_profit) {
|
||||
if ($store_profit > 0) {
|
||||
$financeLogic->out($transaction_id, $store_profit, OrderEnum::ORDER_MARGIN, $order['store_id'], $order['staff_id'], 0, $order['pay_type']);
|
||||
$financeLogic->in($transaction_id, 0, OrderEnum::MERCHANT_ORDER_OBTAINS, $order['store_id'], 0, 0, $order['pay_type']); //平台手续费
|
||||
}
|
||||
} else {
|
||||
$money = bcsub($store_profit, $deposit, 2);
|
||||
|
Loading…
x
Reference in New Issue
Block a user