diff --git a/app/Command/MineCommand.php b/app/Command/MineCommand.php index 5604889..0b43e03 100644 --- a/app/Command/MineCommand.php +++ b/app/Command/MineCommand.php @@ -149,7 +149,8 @@ class MineCommand extends HyperfCommand 'agreementNo' => '312023082200002060225', 'outWithdrawNo' => time() . rand(1000, 9999), 'amount' => '1', - 'notifyUrl' => 'http://124.223.222.61:9501/notify/test-notify' + 'notifyUrl' => 'http://124.223.222.61:9501/notify/test-notify', + 'returnUrl' => 'https://www.baidu.com', ]; $params = [ 'app_id' => $app->app_id, diff --git a/app/Service/PaymentService.php b/app/Service/PaymentService.php index 646527b..3d68636 100644 --- a/app/Service/PaymentService.php +++ b/app/Service/PaymentService.php @@ -640,7 +640,7 @@ class PaymentService extends AbstractService 'amount' => $data['amount'], 'loginNo' => $user->member_id, 'agreementNo' => $data['agreementNo'], - 'outOrderNo' => $data['outWithdrawNo'], + 'outOrderNo' => $withdraw->withdraw_no, ], $token); $withdraw->status = 'APPLY_SUCCESS';