|
|
|
@ -49,7 +49,7 @@ class MineCommand extends HyperfCommand
|
|
|
|
|
*/
|
|
|
|
|
$paymentService = $this->container->make(PaymentService::class);
|
|
|
|
|
|
|
|
|
|
$params = $this->payNew();
|
|
|
|
|
$params = $this->pay();
|
|
|
|
|
$data = $paymentService->payment($params);
|
|
|
|
|
var_dump($data);
|
|
|
|
|
return;
|
|
|
|
@ -277,7 +277,7 @@ class MineCommand extends HyperfCommand
|
|
|
|
|
'nonce_str' => StringHelper::getRandomString(32),
|
|
|
|
|
'data' => json_encode([
|
|
|
|
|
'outOrderNo' => time().rand(1000, 9999),
|
|
|
|
|
'outMemberId' => 'T00001',
|
|
|
|
|
'outMemberId' => 'T00004',
|
|
|
|
|
'amount' => 100,
|
|
|
|
|
'notifyUrl' => 'https://www.baidu.com',
|
|
|
|
|
]),
|
|
|
|
|