thirdpayment
elf 10 months ago
parent 003c72792b
commit a026018135

@ -48,6 +48,7 @@ class MineCommand extends HyperfCommand
public function handle(): void public function handle(): void
{ {
var_dump($this->querySignEntrust('CWX1989'));
$this->getBalance(); $this->getBalance();
return; return;
$result = $baofu->applyBindCard($user->member_id, [ $result = $baofu->applyBindCard($user->member_id, [

@ -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');

Loading…
Cancel
Save