From 70364cf545aa4cdf685bc120f325c8665f1496e0 Mon Sep 17 00:00:00 2001 From: ljl Date: Fri, 29 Dec 2023 11:13:45 +0800 Subject: [PATCH] yh --- app/Command/WithdrawCommand.php | 2 +- app/Controller/Payment/AccountController.php | 2 +- app/Service/PaymentService.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Command/WithdrawCommand.php b/app/Command/WithdrawCommand.php index 36a610f..0eb3e69 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_5')->first(); + $user = User::where('user_id', 'ACT_13')->first(); $balance = $userService->getBalance($user->member_id); diff --git a/app/Controller/Payment/AccountController.php b/app/Controller/Payment/AccountController.php index b0aff78..aa68fc6 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_5') { + if ($userId != 'ACT_13') { $query->where('user_id', $userId); } if (!empty($request->input('outOrderNo'))) { diff --git a/app/Service/PaymentService.php b/app/Service/PaymentService.php index 6dbdcc8..609f385 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_5')->first(); + $mainAccount = User::where('user_id', 'ACT_13')->first(); $orderSplitInfos[] = [ 'app_id' => $app->app_id, 'user_id' => $user->user_id,