|
|
|
@ -158,7 +158,7 @@ class PaymentService extends AbstractService
|
|
|
|
|
$order->save();
|
|
|
|
|
|
|
|
|
|
$platformAccount = User::getPlatformAccount();
|
|
|
|
|
$fee = $platformAccount ? floor($order->amount * 0.01) : 0;
|
|
|
|
|
$fee = $platformAccount ? floor($order->amount * 0.007) : 0;
|
|
|
|
|
$orderSplitInfos = [];
|
|
|
|
|
$splitUserIds = array_column($params['splitInfoList'], 'splitUserId');
|
|
|
|
|
$users = User::where('app_id', $app->app_id)->whereIn('user_id', $splitUserIds)->get()->keyBy('user_id');
|
|
|
|
|