elf 1 year ago
parent 206d11c81b
commit c82dfaaf98

@ -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,

@ -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';

Loading…
Cancel
Save