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) {