diff --git a/app/Command/MineCommand.php b/app/Command/MineCommand.php index 5c5328f..b33dc4d 100644 --- a/app/Command/MineCommand.php +++ b/app/Command/MineCommand.php @@ -46,7 +46,7 @@ class MineCommand extends HyperfCommand public function handle(): void { - $this->signWithdrawEntrust(); + $this->querySignEntrust(); return; $this->getBalance(); $this->getRequestData(); @@ -549,4 +549,13 @@ class MineCommand extends HyperfCommand $url = $userService->signWithdrawEntrust(['userId' => $userId], $this->getApp(), $this->getToken()); echo $url; } + + protected function querySignEntrust($userId = 'ELF1990') { + /** + * @var UserService $userService + */ + $userService = $this->container->make(UserService::class); + $url = $userService->querySignEntrust(['userId' => $userId], $this->getApp(), $this->getToken()); + echo $url; + } } \ No newline at end of file