|
|
|
@ -226,15 +226,15 @@ class PaymentService extends AbstractService
|
|
|
|
|
|
|
|
|
|
$platformAccount = User::getPlatformAccount($params['isAccountPay']);
|
|
|
|
|
$feeRate = 0.007;
|
|
|
|
|
if ($params['isAccountPay']) {
|
|
|
|
|
$feeRate = 0.00256;
|
|
|
|
|
}
|
|
|
|
|
// if ($params['isAccountPay']) {
|
|
|
|
|
// $feeRate = 0.00256;
|
|
|
|
|
// }
|
|
|
|
|
$fee = $platformAccount ? floor($order->amount * $feeRate) : 0;
|
|
|
|
|
if ($fee <= 0) {
|
|
|
|
|
$fee = 1;
|
|
|
|
|
}
|
|
|
|
|
if ($params['isAccountPay']) {
|
|
|
|
|
$fee += 200;
|
|
|
|
|
$fee == 200;
|
|
|
|
|
}
|
|
|
|
|
$orderSplitInfos = [];
|
|
|
|
|
$splitUserIds = array_column($params['splitInfoList'], 'splitUserId');
|
|
|
|
|