diff --git a/app/Command/MineCommand.php b/app/Command/MineCommand.php index d7ad590..7b890b6 100644 --- a/app/Command/MineCommand.php +++ b/app/Command/MineCommand.php @@ -48,6 +48,7 @@ class MineCommand extends HyperfCommand public function handle(): void { + var_dump($this->querySignEntrust('CWX1989')); $this->getBalance(); return; $result = $baofu->applyBindCard($user->member_id, [ diff --git a/app/Service/PaymentService.php b/app/Service/PaymentService.php index 1be8e96..7c44756 100644 --- a/app/Service/PaymentService.php +++ b/app/Service/PaymentService.php @@ -233,6 +233,9 @@ class PaymentService extends AbstractService if ($fee <= 0) { $fee = 1; } + if ($params['isAccountPay']) { + $fee += 200; + } $orderSplitInfos = []; $splitUserIds = array_column($params['splitInfoList'], 'splitUserId'); $users = User::where('app_id', $app->app_id)->whereIn('user_id', $splitUserIds)->get()->keyBy('user_id');