|
|
@ -48,6 +48,8 @@ class MineCommand extends HyperfCommand
|
|
|
|
|
|
|
|
|
|
|
|
public function handle(): void
|
|
|
|
public function handle(): void
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
$this->bindCard();
|
|
|
|
|
|
|
|
return;
|
|
|
|
$this->withdraw();
|
|
|
|
$this->withdraw();
|
|
|
|
// $this->transferWithdrawNotify();
|
|
|
|
// $this->transferWithdrawNotify();
|
|
|
|
$this->getBalance();
|
|
|
|
$this->getBalance();
|
|
|
@ -242,7 +244,7 @@ class MineCommand extends HyperfCommand
|
|
|
|
* @var UserService $userService
|
|
|
|
* @var UserService $userService
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
$userService = $this->container->make(UserService::class);
|
|
|
|
$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;
|
|
|
|
echo $url;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|