From fc2f8c919272dda536f880cbf0286b99b386fc75 Mon Sep 17 00:00:00 2001 From: ljl Date: Wed, 27 Dec 2023 11:29:16 +0800 Subject: [PATCH] yh --- app/Command/WithdrawCommand.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/app/Command/WithdrawCommand.php b/app/Command/WithdrawCommand.php index f363029..36a610f 100644 --- a/app/Command/WithdrawCommand.php +++ b/app/Command/WithdrawCommand.php @@ -61,7 +61,7 @@ class WithdrawCommand extends HyperfCommand $balance = $userService->getBalance($user->member_id); - echo 'before balance' . $balance . PHP_EOL; + echo 'before balance: ' . $balance . PHP_EOL; $bankCard = BankCard::where('user_id', $user->user_id)->first(); @@ -70,15 +70,16 @@ class WithdrawCommand extends HyperfCommand 'withdrawType' => 'entrust', 'agreementNo' => $bankCard->agreement_no, 'outWithdrawNo' => StringHelper::generateOrderNo(StringHelper::ORDER_NO_TYPE_ACCOUNT_WITHDRAW), - 'amount' => $balance + 'amount' => $balance, + 'notifyUrl' => 'http://124.223.222.61:9701/notify/test-notify' ]); $url = $paymentService->withdraw($requestLog->getData(), $requestLog->app, $requestLog->request_token); - echo 'result' . $url . PHP_EOL; + echo 'result: ' . $url . PHP_EOL; $balance = $userService->getBalance($user->member_id); - echo 'after balance' . $balance . PHP_EOL; + echo 'after balance: ' . $balance . PHP_EOL; } private function createRequestLog($data) {