elf 1 year ago
parent 206d11c81b
commit c82dfaaf98

@ -149,7 +149,8 @@ class MineCommand extends HyperfCommand
'agreementNo' => '312023082200002060225', 'agreementNo' => '312023082200002060225',
'outWithdrawNo' => time() . rand(1000, 9999), 'outWithdrawNo' => time() . rand(1000, 9999),
'amount' => '1', '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 = [ $params = [
'app_id' => $app->app_id, 'app_id' => $app->app_id,

@ -640,7 +640,7 @@ class PaymentService extends AbstractService
'amount' => $data['amount'], 'amount' => $data['amount'],
'loginNo' => $user->member_id, 'loginNo' => $user->member_id,
'agreementNo' => $data['agreementNo'], 'agreementNo' => $data['agreementNo'],
'outOrderNo' => $data['outWithdrawNo'], 'outOrderNo' => $withdraw->withdraw_no,
], $token); ], $token);
$withdraw->status = 'APPLY_SUCCESS'; $withdraw->status = 'APPLY_SUCCESS';

Loading…
Cancel
Save