|
|
|
@ -48,6 +48,8 @@ class MineCommand extends HyperfCommand
|
|
|
|
|
|
|
|
|
|
public function handle(): void
|
|
|
|
|
{
|
|
|
|
|
$this->bindCard();
|
|
|
|
|
return;
|
|
|
|
|
$this->withdraw();
|
|
|
|
|
// $this->transferWithdrawNotify();
|
|
|
|
|
$this->getBalance();
|
|
|
|
@ -242,7 +244,7 @@ class MineCommand extends HyperfCommand
|
|
|
|
|
* @var UserService $userService
|
|
|
|
|
*/
|
|
|
|
|
$userService = $this->container->make(UserService::class);
|
|
|
|
|
$url = $userService->bindCard(['userId' => 'ELF1990'], $this->getApp(), $this->getToken());
|
|
|
|
|
$url = $userService->bindCard(['userId' => 'CWX1989'], $this->getApp(), $this->getToken());
|
|
|
|
|
echo $url;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|