From 518d3bf7c6b0328a50b93f8e1983b52998330a6a Mon Sep 17 00:00:00 2001 From: ljl Date: Tue, 22 Aug 2023 15:03:37 +0800 Subject: [PATCH] yh --- app/Command/MineCommand.php | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) 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),