From 7364e310c3a1ed49e626ef8bb4da2429ed7f19bc Mon Sep 17 00:00:00 2001 From: elf <360197197@qq.com> Date: Mon, 7 Aug 2023 00:59:11 +0800 Subject: [PATCH] yh --- app/Command/MineCommand.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/app/Command/MineCommand.php b/app/Command/MineCommand.php index 10f9986..286222a 100644 --- a/app/Command/MineCommand.php +++ b/app/Command/MineCommand.php @@ -42,7 +42,9 @@ class MineCommand extends HyperfCommand public function handle(): void { - $this->pwdModify(); + $merchant = $this->createMerchant(); + $app = $this->createApp($merchant, '艺小吧'); + var_dump($app->toArray()); } protected function generateToken() { @@ -57,8 +59,8 @@ class MineCommand extends HyperfCommand return $merchantService->createMerchant([ 'username' => 'main', 'password' => StringHelper::getRandomString('10'), - 'email' => '360197197@qq.com', - 'mobile' => '18760419185', + 'email' => '1427419924@qq.com', + 'mobile' => '17788888525', 'ip' => '127.0.0.1' ]); }