From 804aff95dcdf9b7e0cbad3133d7bca59eeefd95a Mon Sep 17 00:00:00 2001 From: ljl Date: Wed, 20 Sep 2023 10:18:59 +0800 Subject: [PATCH] yh --- app/Command/MineCommand.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/app/Command/MineCommand.php b/app/Command/MineCommand.php index f90eba6..5a9ce53 100644 --- a/app/Command/MineCommand.php +++ b/app/Command/MineCommand.php @@ -540,4 +540,13 @@ class MineCommand extends HyperfCommand $url = $userService->unbindWithdrawEntrust(['userId' => $userId], $this->getApp(), $this->getToken()); echo $url; } + + protected function signWithdrawEntrust($userId = 'ELF1990') { + /** + * @var UserService $userService + */ + $userService = $this->container->make(UserService::class); + $url = $userService->signWithdrawEntrust(['userId' => $userId], $this->getApp(), $this->getToken()); + echo $url; + } } \ No newline at end of file