|
|
@ -233,6 +233,9 @@ class PaymentService extends AbstractService
|
|
|
|
if ($fee <= 0) {
|
|
|
|
if ($fee <= 0) {
|
|
|
|
$fee = 1;
|
|
|
|
$fee = 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if ($params['isAccountPay']) {
|
|
|
|
|
|
|
|
$fee += 200;
|
|
|
|
|
|
|
|
}
|
|
|
|
$orderSplitInfos = [];
|
|
|
|
$orderSplitInfos = [];
|
|
|
|
$splitUserIds = array_column($params['splitInfoList'], 'splitUserId');
|
|
|
|
$splitUserIds = array_column($params['splitInfoList'], 'splitUserId');
|
|
|
|
$users = User::where('app_id', $app->app_id)->whereIn('user_id', $splitUserIds)->get()->keyBy('user_id');
|
|
|
|
$users = User::where('app_id', $app->app_id)->whereIn('user_id', $splitUserIds)->get()->keyBy('user_id');
|
|
|
|