From 769ce6e86c6013b76a85411d608a96ee6b0ffeec Mon Sep 17 00:00:00 2001 From: ljl Date: Fri, 1 Sep 2023 14:42:36 +0800 Subject: [PATCH] yh --- app/Command/MineCommand.php | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/app/Command/MineCommand.php b/app/Command/MineCommand.php index ab0d056..16737a1 100644 --- a/app/Command/MineCommand.php +++ b/app/Command/MineCommand.php @@ -160,6 +160,27 @@ class MineCommand extends HyperfCommand // 'type' => 'WITHDRAW', // 'outOrderNo' => '16934198607215', // ]; + $data = [ + 'userId' => 'ELF1990', + 'agreementNo' => '312023081500002054664', + 'outOrderNo' => time() . rand(1000, 9999), + 'amount' => '10', + 'payMethod' => 'unionPay', + 'payType' => 'ALIPAY_ALXCX', + 'notifyUrl' => 'http://124.223.222.61:9501/notify/test-notify', + 'returnUrl' => 'http://124.223.222.61:9501/notify/test-notify', + 'channelId' => '20880055945509133097978700117397', + 'appId' => '2021004111671035', + 'validDate' => '2023-09-30', + 'splitInfoList' => [ + [ + 'splitUserId' => 'RLX1990', + 'sellerFlag' => 1, + 'splitAmount' => 100, + 'subOutOrderNo' => time() . rand(1000, 9999), + ] + ] + ]; $params = [ 'app_id' => $app->app_id, 'nonce_str' => StringHelper::getRandomString(16),