|
|
@ -46,7 +46,7 @@ class MineCommand extends HyperfCommand
|
|
|
|
|
|
|
|
|
|
|
|
public function handle(): void
|
|
|
|
public function handle(): void
|
|
|
|
{
|
|
|
|
{
|
|
|
|
$this->signWithdrawEntrust();
|
|
|
|
$this->querySignEntrust();
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
$this->getBalance();
|
|
|
|
$this->getBalance();
|
|
|
|
$this->getRequestData();
|
|
|
|
$this->getRequestData();
|
|
|
@ -549,4 +549,13 @@ class MineCommand extends HyperfCommand
|
|
|
|
$url = $userService->signWithdrawEntrust(['userId' => $userId], $this->getApp(), $this->getToken());
|
|
|
|
$url = $userService->signWithdrawEntrust(['userId' => $userId], $this->getApp(), $this->getToken());
|
|
|
|
echo $url;
|
|
|
|
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;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|