ljl 1 year ago
parent 4577a9492a
commit 518d3bf7c6

@ -46,7 +46,7 @@ class MineCommand extends HyperfCommand
public function handle(): void public function handle(): void
{ {
$this->paymentNotify(); $this->getRequestData();
return; return;
// $this->notify('http://ceshi-shop.hkcpex.com/index.php/pay/notify/baofu_f_register', $this->getApp(), ['userId' => '30684']); // $this->notify('http://ceshi-shop.hkcpex.com/index.php/pay/notify/baofu_f_register', $this->getApp(), ['userId' => '30684']);
$this->notify('http://ceshi-shop.hkcpex.com/index.php/pay/notify/baofu_f_bind_card', $this->getApp(), ['userId' => '23121', 'bindCardFlag' => true]); $this->notify('http://ceshi-shop.hkcpex.com/index.php/pay/notify/baofu_f_bind_card', $this->getApp(), ['userId' => '23121', 'bindCardFlag' => true]);
@ -122,19 +122,19 @@ class MineCommand extends HyperfCommand
] ]
] ]
]; ];
$data = [ // $data = [
'userId' => 'ELF1990', // 'userId' => 'ELF1990',
'oldOutOrderNo' => '16926822247122', // 'oldOutOrderNo' => '16926822247122',
'outOrderNo' => time() . rand(1000, 9999), // 'outOrderNo' => time() . rand(1000, 9999),
'amount' => '100', // 'amount' => '100',
'notifyUrl' => 'http://124.223.222.61:9501/notify/test-notify', // 'notifyUrl' => 'http://124.223.222.61:9501/notify/test-notify',
'assureConfirmSplitInfoList' => [ // 'assureConfirmSplitInfoList' => [
[ // [
'oldSubOutOrderNo' => '16926822247386', // 'oldSubOutOrderNo' => '16926822247386',
'splitAmount' => '100', // 'splitAmount' => '100',
] // ]
], // ],
]; // ];
$params = [ $params = [
'app_id' => $app->app_id, 'app_id' => $app->app_id,
'nonce_str' => StringHelper::getRandomString(16), 'nonce_str' => StringHelper::getRandomString(16),

Loading…
Cancel
Save