From 9254532fa644183d3faaf1e267e9cc1cbc75b32d Mon Sep 17 00:00:00 2001 From: ljl Date: Tue, 22 Aug 2023 13:30:03 +0800 Subject: [PATCH] yh --- app/Command/MineCommand.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/app/Command/MineCommand.php b/app/Command/MineCommand.php index a134ff9..6f080f2 100644 --- a/app/Command/MineCommand.php +++ b/app/Command/MineCommand.php @@ -99,12 +99,12 @@ class MineCommand extends HyperfCommand protected function getRequestData() { $app = $this->getApp(); - /* $data = [ + $data = [ 'userId' => 'ELF1990', 'goodsName' => '测试商品', 'agreementNo' => '312023082200002060225', - 'notifyUrl' => 'http://www.baidu.com', - 'returnUrl' => 'http://www.baidu.com', + 'notifyUrl' => 'http://124.223.222.61:9501/notify/test-notify', + 'returnUrl' => 'http://124.223.222.61:9501/notify/test-notify', 'amount' => 100, 'outOrderNo' => time() . rand(1000, 9999), 'validDate' => '2023-08-15', @@ -120,20 +120,20 @@ class MineCommand extends HyperfCommand 'subOutOrderNo' => time() . rand(1000, 9999), ] ] - ]; */ - $data = [ + ]; + /* $data = [ 'userId' => 'ELF1990', 'oldOutOrderNo' => '16926808117878', 'outOrderNo' => time() . rand(1000, 9999), 'amount' => '100', - 'notifyUrl' => 'https://www.baidu.om', + 'notifyUrl' => 'http://124.223.222.61:9501/notify/test-notify', 'assureConfirmSplitInfoList' => [ [ 'oldSubOutOrderNo' => '16926808112626', 'splitAmount' => '100', ] ], - ]; + ]; */ $params = [ 'app_id' => $app->app_id, 'nonce_str' => StringHelper::getRandomString(16),