|
|
@ -99,12 +99,12 @@ class MineCommand extends HyperfCommand
|
|
|
|
|
|
|
|
|
|
|
|
protected function getRequestData() {
|
|
|
|
protected function getRequestData() {
|
|
|
|
$app = $this->getApp();
|
|
|
|
$app = $this->getApp();
|
|
|
|
/* $data = [
|
|
|
|
$data = [
|
|
|
|
'userId' => 'ELF1990',
|
|
|
|
'userId' => 'ELF1990',
|
|
|
|
'goodsName' => '测试商品',
|
|
|
|
'goodsName' => '测试商品',
|
|
|
|
'agreementNo' => '312023082200002060225',
|
|
|
|
'agreementNo' => '312023082200002060225',
|
|
|
|
'notifyUrl' => 'http://www.baidu.com',
|
|
|
|
'notifyUrl' => 'http://124.223.222.61:9501/notify/test-notify',
|
|
|
|
'returnUrl' => 'http://www.baidu.com',
|
|
|
|
'returnUrl' => 'http://124.223.222.61:9501/notify/test-notify',
|
|
|
|
'amount' => 100,
|
|
|
|
'amount' => 100,
|
|
|
|
'outOrderNo' => time() . rand(1000, 9999),
|
|
|
|
'outOrderNo' => time() . rand(1000, 9999),
|
|
|
|
'validDate' => '2023-08-15',
|
|
|
|
'validDate' => '2023-08-15',
|
|
|
@ -120,20 +120,20 @@ class MineCommand extends HyperfCommand
|
|
|
|
'subOutOrderNo' => time() . rand(1000, 9999),
|
|
|
|
'subOutOrderNo' => time() . rand(1000, 9999),
|
|
|
|
]
|
|
|
|
]
|
|
|
|
]
|
|
|
|
]
|
|
|
|
]; */
|
|
|
|
];
|
|
|
|
$data = [
|
|
|
|
/* $data = [
|
|
|
|
'userId' => 'ELF1990',
|
|
|
|
'userId' => 'ELF1990',
|
|
|
|
'oldOutOrderNo' => '16926808117878',
|
|
|
|
'oldOutOrderNo' => '16926808117878',
|
|
|
|
'outOrderNo' => time() . rand(1000, 9999),
|
|
|
|
'outOrderNo' => time() . rand(1000, 9999),
|
|
|
|
'amount' => '100',
|
|
|
|
'amount' => '100',
|
|
|
|
'notifyUrl' => 'https://www.baidu.om',
|
|
|
|
'notifyUrl' => 'http://124.223.222.61:9501/notify/test-notify',
|
|
|
|
'assureConfirmSplitInfoList' => [
|
|
|
|
'assureConfirmSplitInfoList' => [
|
|
|
|
[
|
|
|
|
[
|
|
|
|
'oldSubOutOrderNo' => '16926808112626',
|
|
|
|
'oldSubOutOrderNo' => '16926808112626',
|
|
|
|
'splitAmount' => '100',
|
|
|
|
'splitAmount' => '100',
|
|
|
|
]
|
|
|
|
]
|
|
|
|
],
|
|
|
|
],
|
|
|
|
];
|
|
|
|
]; */
|
|
|
|
$params = [
|
|
|
|
$params = [
|
|
|
|
'app_id' => $app->app_id,
|
|
|
|
'app_id' => $app->app_id,
|
|
|
|
'nonce_str' => StringHelper::getRandomString(16),
|
|
|
|
'nonce_str' => StringHelper::getRandomString(16),
|
|
|
|