diff --git a/app/Command/MineCommand.php b/app/Command/MineCommand.php index 19a4943..9b6ea90 100644 --- a/app/Command/MineCommand.php +++ b/app/Command/MineCommand.php @@ -46,7 +46,7 @@ class MineCommand extends HyperfCommand public function handle(): void { - $this->paymentNotify(); + $this->getRequestData(); 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_bind_card', $this->getApp(), ['userId' => '23121', 'bindCardFlag' => true]); @@ -122,19 +122,19 @@ class MineCommand extends HyperfCommand ] ] ]; - $data = [ - 'userId' => 'ELF1990', - 'oldOutOrderNo' => '16926822247122', - 'outOrderNo' => time() . rand(1000, 9999), - 'amount' => '100', - 'notifyUrl' => 'http://124.223.222.61:9501/notify/test-notify', - 'assureConfirmSplitInfoList' => [ - [ - 'oldSubOutOrderNo' => '16926822247386', - 'splitAmount' => '100', - ] - ], - ]; + // $data = [ + // 'userId' => 'ELF1990', + // 'oldOutOrderNo' => '16926822247122', + // 'outOrderNo' => time() . rand(1000, 9999), + // 'amount' => '100', + // 'notifyUrl' => 'http://124.223.222.61:9501/notify/test-notify', + // 'assureConfirmSplitInfoList' => [ + // [ + // 'oldSubOutOrderNo' => '16926822247386', + // 'splitAmount' => '100', + // ] + // ], + // ]; $params = [ 'app_id' => $app->app_id, 'nonce_str' => StringHelper::getRandomString(16),