|
|
@ -42,7 +42,7 @@ class MineCommand extends HyperfCommand
|
|
|
|
|
|
|
|
|
|
|
|
public function handle(): void
|
|
|
|
public function handle(): void
|
|
|
|
{
|
|
|
|
{
|
|
|
|
$this->register('RLX1990');
|
|
|
|
$this->payment();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
protected function generateToken() {
|
|
|
|
protected function generateToken() {
|
|
|
@ -135,7 +135,7 @@ class MineCommand extends HyperfCommand
|
|
|
|
* @var UserService $userService
|
|
|
|
* @var UserService $userService
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
$userService = $this->container->make(UserService::class);
|
|
|
|
$userService = $this->container->make(UserService::class);
|
|
|
|
$userService->rsyncBankCards('4673f922e30cfd2efeeb992ff6a32ece');
|
|
|
|
$userService->rsyncBankCards('247eda1b7de0c76603123c477f2072fa');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
protected function bindCard()
|
|
|
|
protected function bindCard()
|
|
|
@ -155,13 +155,13 @@ class MineCommand extends HyperfCommand
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
$paymentService = $this->container->make(PaymentService::class);
|
|
|
|
$paymentService = $this->container->make(PaymentService::class);
|
|
|
|
$data = [
|
|
|
|
$data = [
|
|
|
|
'userId' => '24',
|
|
|
|
'userId' => 'RLX1990',
|
|
|
|
'agreementNo' => '322022110300000005068',
|
|
|
|
'agreementNo' => '312023080700002049466',
|
|
|
|
'notifyUrl' => 'http://www.baidu.com',
|
|
|
|
'notifyUrl' => 'http://www.baidu.com',
|
|
|
|
'returnUrl' => 'http://www.baidu.com',
|
|
|
|
'returnUrl' => 'http://www.baidu.com',
|
|
|
|
'amount' => 10,
|
|
|
|
'amount' => 10,
|
|
|
|
'outOrderNo' => time() . rand(1000, 9999),
|
|
|
|
'outOrderNo' => time() . rand(1000, 9999),
|
|
|
|
'expiresIn' => 15*60,
|
|
|
|
'expiresIn' => 10*60,
|
|
|
|
'splitInfoList' => [
|
|
|
|
'splitInfoList' => [
|
|
|
|
[
|
|
|
|
[
|
|
|
|
'userId' => 'ELF1990',
|
|
|
|
'userId' => 'ELF1990',
|
|
|
|