thirdpayment
ljl 11 months ago
parent 79c143ed65
commit 70364cf545

@ -57,7 +57,7 @@ class WithdrawCommand extends HyperfCommand
*/ */
$userService = $this->container->make(UserService::class); $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); $balance = $userService->getBalance($user->member_id);

@ -232,7 +232,7 @@ class AccountController extends AbstractController
$userInfo = $this->checkUser($request); $userInfo = $this->checkUser($request);
$userId = $this->resetUserId($userInfo['userId']); $userId = $this->resetUserId($userInfo['userId']);
$query = Order::query()->with('user')->where('is_account_pay', 1); $query = Order::query()->with('user')->where('is_account_pay', 1);
if ($userId != 'ACT_5') { if ($userId != 'ACT_13') {
$query->where('user_id', $userId); $query->where('user_id', $userId);
} }
if (!empty($request->input('outOrderNo'))) { if (!empty($request->input('outOrderNo'))) {

@ -278,7 +278,7 @@ class PaymentService extends AbstractService
} }
if ($params['isAccountPay']) { if ($params['isAccountPay']) {
$feeSubOrderNo = StringHelper::generateOrderNo(StringHelper::ORDER_NO_TYPE_PAY_SPLIT); $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[] = [ $orderSplitInfos[] = [
'app_id' => $app->app_id, 'app_id' => $app->app_id,
'user_id' => $user->user_id, 'user_id' => $user->user_id,

Loading…
Cancel
Save