From 1e24db4af52866b0338b8f2c80690103a0ed7147 Mon Sep 17 00:00:00 2001 From: ljl Date: Fri, 29 Dec 2023 12:03:25 +0800 Subject: [PATCH] yh --- app/Command/MineCommand.php | 4 ++-- app/Command/WithdrawCommand.php | 2 +- app/Controller/Payment/AccountController.php | 2 +- app/Service/PaymentService.php | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/Command/MineCommand.php b/app/Command/MineCommand.php index 5543547..a0874ac 100644 --- a/app/Command/MineCommand.php +++ b/app/Command/MineCommand.php @@ -48,7 +48,7 @@ class MineCommand extends HyperfCommand public function handle(): void { - $user = User::where('user_id', 'ACT_13')->first(); + $user = User::where('user_id', 'ACT_9')->first(); var_dump($user->toArray()); $baofu = new Baofu(); $url = $baofu->signWithdrawEntrust($user->member_id, 'xxxxx'); @@ -354,7 +354,7 @@ class MineCommand extends HyperfCommand $result = $userService->getBalance('289a092602845b1a40793db5409333f5'); echo 'WRTC: ' . $result . PHP_EOL; - $user = User::where('user_id', 'ACT_13')->first(); + $user = User::where('user_id', 'ACT_9')->first(); $result = $userService->getBalance($user->member_id); echo 'NEW: ' . $result . PHP_EOL; } diff --git a/app/Command/WithdrawCommand.php b/app/Command/WithdrawCommand.php index 0eb3e69..df92bda 100644 --- a/app/Command/WithdrawCommand.php +++ b/app/Command/WithdrawCommand.php @@ -57,7 +57,7 @@ class WithdrawCommand extends HyperfCommand */ $userService = $this->container->make(UserService::class); - $user = User::where('user_id', 'ACT_13')->first(); + $user = User::where('user_id', 'ACT_9')->first(); $balance = $userService->getBalance($user->member_id); diff --git a/app/Controller/Payment/AccountController.php b/app/Controller/Payment/AccountController.php index aa68fc6..eb738e0 100644 --- a/app/Controller/Payment/AccountController.php +++ b/app/Controller/Payment/AccountController.php @@ -232,7 +232,7 @@ class AccountController extends AbstractController $userInfo = $this->checkUser($request); $userId = $this->resetUserId($userInfo['userId']); $query = Order::query()->with('user')->where('is_account_pay', 1); - if ($userId != 'ACT_13') { + if ($userId != 'ACT_9') { $query->where('user_id', $userId); } if (!empty($request->input('outOrderNo'))) { diff --git a/app/Service/PaymentService.php b/app/Service/PaymentService.php index 609f385..1be8e96 100644 --- a/app/Service/PaymentService.php +++ b/app/Service/PaymentService.php @@ -278,7 +278,7 @@ class PaymentService extends AbstractService } if ($params['isAccountPay']) { $feeSubOrderNo = StringHelper::generateOrderNo(StringHelper::ORDER_NO_TYPE_PAY_SPLIT); - $mainAccount = User::where('user_id', 'ACT_13')->first(); + $mainAccount = User::where('user_id', 'ACT_9')->first(); $orderSplitInfos[] = [ 'app_id' => $app->app_id, 'user_id' => $user->user_id,