ljl 1 year ago
parent 6d34a1da92
commit 9254532fa6

@ -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),

Loading…
Cancel
Save